-
-
Save LeonidFilbert/b5b5a19bdd70981854d66f9b5029733b to your computer and use it in GitHub Desktop.
List all tables in rails app using console
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This command will list all table in a rails app in rails console | |
| ActiveRecord::Base.connection.tables |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment