lundi 27 novembre 2017

can't see tables in specific database using rails console

In my case. I have use two different databases in my single application. One is mysql and another one is sqlsever.

ActiveRecord::Base.connection.tables

Using this command i have see all table in my mysql database tables. But i don't know the command to see specific database table using rails console.

Aucun commentaire:

Enregistrer un commentaire