Let\'s suppose I have a table called \'user_products\' and a corresponding model called UserProduct in my Rails application. I also have a field called \'is_temporary\' in my ta
UserProduct.update_all({:is_temporary => false}, {:user_id => 12345})
Although beware: this skips all validations and callbacks, since no instance of UserProduct will ever be instanciated.