rweng/pry-rails — pull request #22 by TreyLawrence (2012-07-16 19:15:24+00:00)
Title: Adding show-models command

This command shows the models, their attributes, and their associations. It also has a grep option, which will display the regexp that was grepped in red text. I've also added three models (with associations) to the test app that's created from the init_test_app rake task.

This was partially merged into pull request #20 (my fault, sorry!). I'm new to github/git, so I didn't realize you weren't supposed to continue making changes to the same branch from a previous pull request.

So the merged changes from pull request #20 have a partially working show-models command. It won't show associations, and will error if used on a table that hasn't been migrated yet.