update_attributes() and attr_accessible

5 Mar 2013

In ActiveRecord, you cannot invoke `update_attributeson an attribute if you don't declare it with ``attr_accessible```.

I was stuck with this problem for about an hour. It was discovered because I printed every possible thing around it….

Give it a kudos