lib/geocoder/railtie.rb in geocoder-1.0.4 vs lib/geocoder/railtie.rb in geocoder-1.0.5

- old
+ new

@@ -16,10 +16,10 @@ end end class Railtie def self.insert - if ENV['RAILS_GROUPS'].to_s != 'assets' and defined?(::ActiveRecord) + if defined?(::ActiveRecord) ::ActiveRecord::Base.extend(Model::ActiveRecord) end end end end