Sha256: 1f399f49a0986e230627492b4413bbf36c2ec2c1327d80d41ae3818ed92c5c8a
Contents?: true
Size: 293 Bytes
Versions: 1
Compression:
Stored size: 293 Bytes
Contents
module SerializeWith class Railtie < Rails::Railtie initializer "serialize_with.extend_active_record_base" do |app| if defined?(ActiveRecord) ActiveSupport.on_load(:active_record) do ActiveRecord::Base.extend SerializeWith end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
serialize_with-0.1.7 | lib/serialize_with/railtie.rb |