instance method
columns_hash?
Ruby on Rails 7.0.10
Since v6.0.6Signature
columns_hash?(table_name)
Checks whether the columns hash is already cached for a table.
Parameters
-
table_namereq
Source
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 130
def columns_hash?(table_name)
@columns_hash.key?(table_name)
end
Defined in activerecord/lib/active_record/connection_adapters/schema_cache.rb line 130
· View on GitHub
· Improve this page
· Find usages on GitHub