class method
self.new
Ruby on Rails 8.1.2
Since v7.2.3Signature
self.new(connection)
No documentation comment.
Parameters
-
connectionreq
Source
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 145
def initialize(connection)
@connection = connection
end
Defined in activerecord/lib/active_record/connection_adapters/schema_cache.rb line 145
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::ConnectionAdapters::BoundSchemaReflection::FakePool