list all tables in active record rails code example Example: rails get list of tables ActiveRecord::Base.connection.tables