Method: ActiveRecord::Result::IndexedRow#==

Defined in:
activerecord/lib/active_record/result.rb

#==(other) ⇒ Object



58
59
60
61
62
63
64
# File 'activerecord/lib/active_record/result.rb', line 58

def ==(other)
  if other.is_a?(Hash)
    to_hash == other
  else
    super
  end
end