Object#id will be deprecated

Kad Kerforn wrote:

I see this warning in my log

../app/models/user.rb:179: warning: Object#id will be deprecated; use
Object#object_id

Usually this error occurs when you call id on something that isn't an ActiveRecord::Base object. Check all possible calls of #id at line 179 of user.rb. Then insert "puts object.class.name" debug statement for each object on which you call id to verify the actual class.

Lionel