Joined July 2012
·
Posted to
Easy and beautiful Rails logs
over 1 year
ago
@cpalafox puts output is for irb, in rails debug you can use Rails.logger.info/warn/error
Achievements
154 Karma
16,266 Total ProTip Views

Altruist
Increase developer well-being by sharing at least 20 open source projects

Forked
Have a project valued enough to be forked by someone else

Komodo Dragon
Have at least one original repo where Java is the dominant language

Nephila Komaci
Have at least one original repos where PHP is the dominant language

Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos

Charity
Fork and commit to someone's open source project in need

Mongoose 3
Have at least three original repos where Ruby is the dominant language

Mongoose
Have at least one original repo where Ruby is the dominant language
@tabish
I think that's not the case here because it's not from the flash message. That is for form error messages. But i think you can still use the html format in the toastr so it should be ok.