I have a claim model representing a medical claim. It has some 130 fields. In one screen, the only option is to update 3 of those fields, status, discount_amount, payout_amount. It seems that if I:
@claim=Claim.find(params[:id], :select => 'id,status,discount_amount,payout_amount')
that it will begin to complain field by field of missing values that I did not select.
Do I have to select * in order to update only three attributes? I could write a method that updates those three via SQL, but what then when I move to a general update screen that updates around 40 of those attributes?