instance method
tables
Ruby on Rails 4.0.13
Since v4.0.13 Last seen in v4.2.9Signature
tables(name = nil)
No documentation comment.
Parameters
-
nameopt = nil
Source
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 44
def tables(name = nil)
if name
@tables[name]
else
ActiveSupport::Deprecation.warn('call tables with a name!')
@tables.dup
end
end
Defined in activerecord/lib/active_record/connection_adapters/schema_cache.rb line 44
· View on GitHub
· Improve this page
· Find usages on GitHub