I have two virtual attributes in my model. Let’s call them
I use them to calculate “work_time”, which is an integer I store – it’s
the total minutes worked (e.g. 3.5 hours is 210).
I want :hours_worked and :minutes_worked to NEVER appear in the
But when @foo.update_attributes(params[:foo]) is called, it bombs.
Any help would be appreciated. Thirty years software development
and I just can’t seem to pick up Rails. ARGH!!!