lib/effective_regions/engine.rb in effective_regions-1.8.5 vs lib/effective_regions/engine.rb in effective_regions-1.8.6
- old
+ new
@@ -12,10 +12,10 @@
end
# Include acts_as_addressable concern and allow any ActiveRecord object to call it
initializer 'effective_regions.active_record' do |app|
ActiveSupport.on_load :active_record do
- ActiveRecord::Base.extend(ActsAsRegionable::ActiveRecord)
+ ActiveRecord::Base.extend(ActsAsRegionable::Base)
end
end
# Set up our default configuration options.
initializer "effective_regions.defaults", :before => :load_config_initializers do |app|