Rails Tip Snippet: Logging informational messages to your log

1 · Ariejan de Vroom · March 22, 2007, midnight
This “Rails Tip Snippet” is one in a series of small blocks of code that will make your life developing Rails applications a bit easier. This first snippet shows you how you can log informational message to your log file so you can track any important actions that happened. As an example you may want to log all user accounts that get deleted:...