lib/soulless/model.rb in soulless-1.1.1 vs lib/soulless/model.rb in soulless-1.2.0

- old
+ new

@@ -32,7 +32,11 @@ end def persisted? false end + + def ==(o) + self.to_h == o.to_h + end end end