Class: ActiveRecord::Base
- Inherits:
-
Object
- Object
- ActiveRecord::Base
- Defined in:
- lib/cash/util/active_record.rb,
lib/cache_money.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
Instance Method Details
#<=>(other) ⇒ Object
2 3 4 |
# File 'lib/cash/util/active_record.rb', line 2 def <=>(other) self.id.to_i <=> other.id.to_i end |