get tables list using rails console code example Example: rails get list of tables ActiveRecord::Base.connection.tables