Skip to content

Instantly share code, notes, and snippets.

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