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#==.
Diogo Almeida
gem "active_record_attributes_equality", "~> 1.0.1"