In rails, when updating a model, how do you prevent certain properties of the model from being updated when using a call like:
@user.update_profile params[:user]
Since anyone can just create a form input with a name like 'password', how can you filter the set of properties that you are allowing to be updatable?
Is this what attr_XXX is for?