Do some logging

This commit is contained in:
Raphael 2010-08-26 12:07:35 -07:00
parent f3c20bf3c0
commit 5a92f9e8a8

View file

@ -58,6 +58,8 @@ class Comment
end
def signature_valid?
Rails.logger.warn "Validating signature on comment from: #{person.inspect}"
Rails.logger.warn "#{person.real_name}" if person
person ? verify_signature(creator_signature, person) : true
end