Flowdock
method

connection=

Importance_0
v1.2.6 - Show latest stable - 0 notes - Class: ActiveRecord::Base
connection=(spec) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/query_cache.rb, line 50
      def connection=(spec)
        if spec.is_a?(ConnectionSpecification) and spec.config[:query_cache]
          spec = QueryCache.new(self.send(spec.adapter_method, spec.config))
        end
        self.connection_without_query_cache = spec
      end
Register or log in to add new notes.