Re: [Rails-core] proposal: deprecate save() in favor of save!()

2015-06-24 Thread pseidemann
lidations. 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. >> ​ >>

[Rails-core] proposal: deprecate save() in favor of save!()

2015-06-22 Thread pseidemann
hello, 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: >