by JFlash · 10y ago · 0 comments
Rails tries to fix this with the `:on` option for validations (http://api.rubyonrails.org/classes/ActiveModel/Validations/C...), which goes woefully unused in Rails apps.
Now you can do:
customer.save(context: :checking_out)
# which is different than
customer.saveNo comments yet.