lib/geocoder/railtie.rb in geocoder-1.0.2 vs lib/geocoder/railtie.rb in geocoder-1.0.3

- old
+ new

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