method
tables
rails latest stable - Class:
ActiveRecord::ConnectionAdapters
tables(name = nil)public
No documentation available.
# File activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb, line 309
def tables(name = nil) # :nodoc:
ActiveSupport::Deprecation.warn( #tables currently returns both tables and views. This behavior is deprecated and will be changed with Rails 5.1 to only return tables. Use #data_sources instead..squish)
if name
ActiveSupport::Deprecation.warn( Passing arguments to #tables is deprecated without replacement..squish)
end
data_sources
end