lib/active_remote/attributes.rb in active_remote-5.0.0.pre vs lib/active_remote/attributes.rb in active_remote-5.0.0.rc1
- old
+ new
@@ -12,9 +12,10 @@
# @example Compare for equality.
# model == other
#
def ==(other)
return false unless other.instance_of?(self.class)
+
attributes == other.attributes
end
# Returns a copy of our attributes hash
def attributes