Skip to content

Commit

Permalink
Merge pull request #206 from audioandpixels/master
Browse files Browse the repository at this point in the history
require activesupport core extension .blank?
  • Loading branch information
ctran committed Aug 26, 2014
2 parents 9634ea6 + a9e3498 commit 038b13c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/annotate.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@
begin
# ActiveSupport 3.x...
require 'active_support/hash_with_indifferent_access'
require 'active_support/core_ext/object/blank'
rescue Exception => e
# ActiveSupport 2.x...
require 'active_support/core_ext/hash/indifferent_access'
require 'active_support/core_ext/blank'
end

module Annotate
Expand Down

0 comments on commit 038b13c

Please sign in to comment.