rails console get all tables code example
Example 1: rails get list of tables
ActiveRecord::Base.connection.tables
Example 2: how to get all tables in rails c\
ActiveRecord::Base.connection.tables
ActiveRecord::Base.connection.tables
ActiveRecord::Base.connection.tables