Sha256: 702082f71dcfa9f748551981225c4f5106f06870b7ecd83bb351b2cf9ff2a727
Contents?: true
Size: 280 Bytes
Versions: 2
Compression:
Stored size: 280 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.include SerializeWith end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
serialize_with-0.1.6 | lib/serialize_with/railtie.rb |
serialize_with-0.1.2 | lib/serialize_with/railtie.rb |