Rails and Stuff at Abel killed Cain

Ruby on Rails and other Webdevelopment

Posts Tagged ‘ details ’

Rails logging methods are wonderful for development.

Indeed, they often suck when you want to inspect objects or cascaded objects. So here is a codesnipped that helps you inspect any kind of any object in rails, deeply and detailed.

as a new lib-file or, just as i do, in application_controller.rb, add the follogwing code:

[More]