lib/active_remote/persistence.rb in active_remote-5.0.0 vs lib/active_remote/persistence.rb in active_remote-5.0.1

- old
+ new

@@ -196,10 +196,10 @@ # messages are returned), an ActiveRemote::RemoteRecordNotSaved is raised. # # Also runs any before/after save callbacks that are defined. # def save!(*args) - save(*args) || raise(RemoteRecordNotSaved) + save(*args) || fail(RemoteRecordNotSaved, self) end # Returns true if the record doesn't have errors; otherwise, returns false. # def success?