Question : activerecord list tables
Answered by : akshay-kakade
>> ActiveRecord::Base.connection.tables
=> ["accounts", "assets", ...]
Source : https://stackoverflow.com/questions/154372/how-to-list-of-all-the-tables-defined-for-the-database-when-using-active-record | Last Update : Mon, 05 Jul 21