How to update partial attributes of a object from a form?

params[:user].each do |attr,value|
   @user.write_attribute(attr, value)
end
@user.save

Rob Biedenharn http://agileconsultingllc.com
Rob@AgileConsultingLLC.com