Since you cannot use the normal 'update' and 'update_attribute' methods from ActiveRecord to update a protected attribute, is the following the best way to update an attribute for a single user?
User.update_all("admin = true","id = 1")
I'm guessing this doesn't lie in the 'best practice' category, so I'm just curious if there is a more appropriate way.