method

tables

rails latest stable - Class: ActiveRecord::ConnectionAdapters

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.0.0.1) is shown here.

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