Sha256: 55903bc8faca286f74364c17ffedb15a28e920f8e7d2ca52fa7867b56414f91e
Contents?: true
Size: 288 Bytes
Versions: 1
Compression:
Stored size: 288 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 self.send(:include, SerializeWith) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
serialize_with-0.1.3 | lib/serialize_with/railtie.rb |