Class: Geocoder::Railtie

Inherits:
Rails::Railtie
  • Object
show all
Defined in:
lib/geocoder/railtie.rb,
lib/geocoder/railtie.rb

Class Method Summary collapse

Class Method Details

.insertObject



20
21
22
23
24
# File 'lib/geocoder/railtie.rb', line 20

def self.insert
  if defined?(::ActiveRecord)
    ::ActiveRecord::Base.extend(Model::ActiveRecord)
  end
end