diff --git a/lib/annotate.rb b/lib/annotate.rb index ea06b725a..e53f42bec 100644 --- a/lib/annotate.rb +++ b/lib/annotate.rb @@ -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