lib/active_groonga/persistence.rb in activegroonga-1.0.3 vs lib/active_groonga/persistence.rb in activegroonga-1.0.4

- old
+ new

@@ -22,10 +22,10 @@ def destroyed? @destroyed end def persisted? - not (new_record? or destroyed?) + !new_record? and !destroyed? end def save(options={}) create_or_update end