src code

class method ActiveRecord.Model.update

ActiveRecord.Model.update(id,attributes) → Object

Article.update(3,{

title: 'New Title'

}); //or pass an array of ids and an array of attributes Article.update([5,7],[

{title: 'Title for 5'},
{title: 'Title for 7'}

]); //or pass an array of ids and a hash of attributes Article.update([5,7],{

featured: false

});