Sha256: 3a683a508596ca7a2400b485dc49b631f9e4a2e8464cb4433cbbea5bb33ac223
Contents?: true
Size: 341 Bytes
Versions: 1
Compression:
Stored size: 341 Bytes
Contents
module Protobuf module ActiveRecord class Railtie < Rails::Railtie config.protobuf_active_record = Protobuf::ActiveRecord.config ActiveSupport.on_load(:active_record) do on_inherit do include Protobuf::ActiveRecord::Model if Protobuf::ActiveRecord.config.autoload end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
protobuf-activerecord-3.0.2 | lib/protobuf/active_record/railtie.rb |