more detailed logging information in Rails
February 3, 2010 • Ruby on Rails • Comments
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: