Sometimes it can be handy to keep track what a model is doing in a separate log. Here’s an easy way to do it. class Article < ActiveRecord::Base LOGFILE = File.join(RAILS_ROOT, '/log/', "article_#{RAILS_ENV}.log") def validate log "was validated!" end def log(*args) args.size == 1 ? (message = args; severity = :info) : (severity, message = args) Article.logger severity, "Article##{self.id}: #{mes