Greetings all,

I would like to start a conversation about the subtle difference between 
update_attribute and update_attributes, namely that update_attribute skips 
validations and update_attributes does not skip validations.

I know this has been around for a while but is Rails 4 the time to make 
them both respect validations? I am willing to do the work if the core team 
feels like it would be a worthwhile breaking change.

I don't have a ton of context on the history but as I talk to more and more 
beginners (and advanced) Rails folks, that subtle difference does trip 
people up. 

Thanks,
Mike

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-core/-/tdnUJ-TqutEJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.

Reply via email to