currently in rails you have two methods to save a record: save and save!.
I think save is often used wrong because the return value is not always checked.
even the documentation is not very clear about the subtle different about the two methods. for save the first sentence is:
Saves the model.
it’s not clearly mentioned there that it will not save the model at all when validation fails. so developers will introduce bugs when not always checking for the return value e.g. in delayed job methods or in rake tasks (or maybe even in controllers).
my proposal would be to deprecate the usage of save and introduce a new method called try_save which has the same implementation as the old save method. this would make the implementation and the usage of the saving method more clear.
I think the documentation is very clear about this:
Saves the model.
If the model is new a record gets created in the database, otherwise the existing record gets updated.
By default, save always run validations. If any of them fail the action is cancelled and save returns false.
If it is not we should fix the documentation but for me it is not a good idea to rename save to try_save. The Rails conventions for bang methods are clear.
I think the simplest solution would be for you to suggest (or submit a PR for) a change to the documentation that you think does make the difference clear.
Changing the functionality of either call would be a Bad Thing.