Prob with updating a record with Activeresource object

Hi,

I am updating a record using activeresource object. I get an error “cant
mass assign protected attributes id, created_at , updated_at”. This is
because i read a record, modify some values and then update the entry
using object.save( which also updates id, created_at etc). To remove
this error i can include the id, created_at fields in the model file.
But is there a better way to get out of this prob?

Got the same problem here. Did you solve this issue?

Thanks in advance.