Sha256: 2c23dec9e004ead76cfb6452d2c7e445ac97dba9e92e44acc17a5f8c1ae7d326

Contents?: true

Size: 251 Bytes

Versions: 8

Compression:

Stored size: 251 Bytes

Contents

module RussianPhone
  class Railtie < ::Rails::Railtie
    initializer 'russian_phone.active_record' do
      ActiveSupport.on_load(:active_record) do
        ::ActiveRecord::Base.send :include, RussianPhone::ActiveRecord
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
russian_phone-0.8.0 lib/russian_phone/railtie.rb
russian_phone-0.7.0 lib/russian_phone/railtie.rb
russian_phone-0.6.1 lib/russian_phone/railtie.rb
russian_phone-0.6.0 lib/russian_phone/railtie.rb
russian_phone-0.5.3 lib/russian_phone/railtie.rb
russian_phone-0.5.2 lib/russian_phone/railtie.rb
russian_phone-0.5.1 lib/russian_phone/railtie.rb
russian_phone-0.5.0 lib/russian_phone/railtie.rb