awesome-print / awesome_print

Pretty print your Ruby objects with style -- in full color and with proper indentation
http://github.com/michaeldv/awesome_print
MIT License
4.07k stars 454 forks source link

Print errors #301

Closed dshinzie-zz closed 5 years ago

dshinzie-zz commented 7 years ago

This is for issue #294. The problem was that Active Record errors are actually from class ActiveModel::Errors instead of ActiveRecord::Base.

thiagofm commented 7 years ago

Can you please rebase?

imajes commented 6 years ago

@dshinzie: can i convince you to add a quick spec for this too? this is a really worthwhile PR; would love to get it merged into the next release, please!

imajes commented 5 years ago

this is useful so i've pulled in the relevant commits. will look into specs at a later date.

dshinzie-zz commented 5 years ago

nice man!