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?
on 2012-06-30 00:51
on 2012-11-27 12:54
Got the same problem here. Did you solve this issue? Thanks in advance.