instance method
prepare_data_sources
Ruby on Rails 7.1.6
Since v5.2.8.1 Last seen in v7.1.6 PrivateSignature
prepare_data_sources(connection)
No documentation comment.
Parameters
-
connectionreq
Source
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 462
def prepare_data_sources(connection)
tables_to_cache(connection).each do |source|
@data_sources[source] = true
end
end
Defined in activerecord/lib/active_record/connection_adapters/schema_cache.rb line 462
· View on GitHub
· Improve this page
· Find usages on GitHub