Sha256: 3b1369e473d2e80a4fc41f881f34c120ab370560cba8d480b5fd7700f5030c07
Contents?: true
Size: 633 Bytes
Versions: 17
Compression:
Stored size: 633 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 ActiveSupport.on_load(:protobuf_rpc_service) do Protobuf::Rpc.middleware.insert_after Protobuf::Rpc::Middleware::Logger, Middleware::ConnectionManagementAsync Protobuf::Rpc.middleware.insert_after Middleware::ConnectionManagementAsync, Middleware::QueryCache end end end end
Version data entries
17 entries across 17 versions & 1 rubygems