Sha256: e143cc2f9a42d7bcfae74e7a0be2a14e5e1d616486f1c3cc7d38c637ba523f36
Contents?: true
Size: 373 Bytes
Versions: 8
Compression:
Stored size: 373 Bytes
Contents
module FreshConnection module Extend module ConnectionHandler def self.included(base) base.alias_method_chain :retrieve_connection, :fresh_connection end def retrieve_connection_with_fresh_connection(klass) c = retrieve_connection_without_fresh_connection(klass) c.model_class = klass c end end end end
Version data entries
8 entries across 8 versions & 1 rubygems