Sha256: 8278f88bcea8b46b325bb46e4d701a0ac8530b4451db6bb8cebadab7a0ff9c6e
Contents?: true
Size: 370 Bytes
Versions: 12
Compression:
Stored size: 370 Bytes
Contents
module DbCharmer module AssociationProxy module InstanceMethods def on_db(con, &block) @reflection.klass.on_db(con, self, &block) end def on_slave(con = nil, &block) @reflection.klass.on_slave(con, self, &block) end def on_master(&block) @reflection.klass.on_master(self, &block) end end end end
Version data entries
12 entries across 12 versions & 3 rubygems