# File lib/active_record/base.rb, line 614 def <=>(other_object) if other_object.is_a?(self.class) self.to_key <=> other_object.to_key else nil end end