Sha256: 2f6a06823586682b239fbaf44d819c37f02b62d08c88966a3e2d0a876f239c46
Contents?: true
Size: 302 Bytes
Versions: 2
Compression:
Stored size: 302 Bytes
Contents
module TranslatableRecords class Railtie < Rails::Railtie initializer 'translatable_records.active_record' do ActiveSupport.on_load :active_record do ::ActiveRecord::Base.include( TranslatableRecords::Extensions::ActiveRecord::Base ) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
translatable_records-5.1.0 | lib/translatable_records/railtie.rb |
translatable_records-4.0.0.1 | lib/translatable_records/railtie.rb |