On Jun 14, 2012, at 12:36 PM, Brian Morearty wrote:

> Steve,
> 
> It'd be cool if the patch included the addition of a :validate => false 
> option in update_attributes.
> 
> This would make for an easier upgrade path from update_attribute.

Note that there's one additional difference, due to attribute whitelisting. 
Thus:

some_object.update_attribute(:foo, 'bar')

is NOT the same as:

some_object.update_attributes(foo: 'bar')

if foo isn't mass-assignable.

Not sure if it's terribly relevant, but worth mentioning.

--Matt Jones

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to rubyonrails-core@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-core+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.

Reply via email to