Sha256: c06bb1de717162220f9fbe7cc0316318833a6a6f15fb46a41c5308f54100d839

Contents?: true

Size: 192 Bytes

Versions: 7

Compression:

Stored size: 192 Bytes

Contents

module FreshConnection
  module Extend
    module ConnectionHandler
      def retrieve_connection(klass)
        c = super
        c.model_class = klass
        c
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
fresh_connection-0.4.4 lib/fresh_connection/extend/connection_handler.rb
fresh_connection-1.0.1 lib/fresh_connection/extend/connection_handler.rb
fresh_connection-1.0.0 lib/fresh_connection/extend/connection_handler.rb
fresh_connection-0.4.3 lib/fresh_connection/extend/connection_handler.rb
fresh_connection-0.4.2 lib/fresh_connection/extend/connection_handler.rb
fresh_connection-0.4.1 lib/fresh_connection/extend/connection_handler.rb
fresh_connection-0.4.0 lib/fresh_connection/extend/connection_handler.rb