Skip to content
Snippets Groups Projects
Commit cbf3de62 authored by sush's avatar sush Committed by Alex Reisner
Browse files

Fix #128 by reverting reverting "Fix problem with `rake assets:precompile`."

This reverts commit 6e0edacd.
parent 01e96c10
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@ module Geocoder
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment