RubyGems.org

Active Record Attributes Equality is a very simple rails plugin / gem that forces ActiveRecord to compare the model's attributes in the presence of two new records. Otherwise, it compares their IDs, just like ActiveRecord::Base#==.

installgem install active_record_attributes_equality
Authors

Diogo Almeida

14,321 total downloads 6,621 for this version
Owners

F8d9ece58e97250910d1588b54149415

Gemfile
gem 'active_record_attributes_equality', '~> 1.0.1'
Versions
  1. 1.0.1 May 27, 2011 (5 KB)
  2. 1.0.0 July 30, 2010 (5 KB)
  3. 1.0.0.rc.2 July 29, 2010 (5 KB)
  4. 1.0.0.rc July 29, 2010 (5 KB)
Runtime Dependencies
  1. activerecord ~> 3.0.0