Sha256: 60a21a3b51b250c5457167898828e4a65823bdfe4887824daba2aa017e618f0a
Contents?: true
Size: 623 Bytes
Versions: 15
Compression:
Stored size: 623 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::ConnectionManagement Protobuf::Rpc.middleware.insert_after Middleware::ConnectionManagement, Middleware::QueryCache end end end end
Version data entries
15 entries across 15 versions & 1 rubygems