Sha256: d5225936b73ef4a72f7cb35553462a47865105d92ec7fb73103cad63ad996ceb
Contents?: true
Size: 253 Bytes
Versions: 3
Compression:
Stored size: 253 Bytes
Contents
module ActsAsLocalized class Railtie < Rails::Railtie initializer 'acts_as_localized.insert_into_active_record' do ActiveSupport.on_load :active_record do ActiveRecord::Base.send(:include, ActsAsLocalized) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
acts_as_localized-0.0.3 | lib/acts_as_localized/railtie.rb |
acts_as_localized-0.0.2 | lib/acts_as_localized/railtie.rb |
acts_as_localized-0.0.1 | lib/acts_as_localized/railtie.rb |