Show Rails Models With Pry
Last updated
Was this helpful?
Last updated
Was this helpful?
With the gem, you get some extra goodies in the Rails console for your project. One of those goodies is show-models
, a command for printing out a list of all models in the rails project. Add and bundle the pry-rails
gem, run rails c
, and then run show-models
to give it a go.