Ruby On Rails

Originally posted on rafionrails:
Command for listng the table names created for a database: Executing the below command will return all the table names created for a particular database in array format:       ActiveRecord::Base.connection.tables Command for checking whether particular table is created or not in database: By passing the table name to the below command,…