Table Print on Rails Console
TablePrint shows objects in nicely formatted columns for easy reading. It even lets you nest other tables of related objects, contextualizing data across tables. It's incredibly flexible, yet simple, making it easy to see exactly the data you care about.
Install as a standalone gem
$ gem install table_print
Or install within rails In your Gemfile:
gem "table_print" $ bundle install
Outside rails $ irb