back

Warning Explanation: actionpack-2.3.2/lib/action_controller/record_identifier.rb:76: warning: Object#id will be deprecated; use Object#object_id

This warning can happen if you treat an object from a non-active record class like an active record object. For example, you might have a class that wraps a few AR objects.

One hack to get rid of the warning is to just define the method id on your wrapper class.

Check out the documentation for RecordIdentifier here

July 17, 2009