Created
November 20, 2013 04:35
-
-
Save harssh/7557789 to your computer and use it in GitHub Desktop.
List all tables in rails app using console
This file contains 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