lib/active_remote/persistence.rb in active_remote-5.0.1 vs lib/active_remote/persistence.rb in active_remote-5.1.0.rc1

- 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) || fail(RemoteRecordNotSaved, self) + save(*args) || raise(RemoteRecordNotSaved) end # Returns true if the record doesn't have errors; otherwise, returns false. # def success?