mongoid/mongoid — Issue #1710: oddity with "Auto protect id and type from mass assignment"
Author: fwoeck
Created: 2012-02-13 04:02:11+00:00
State: open

Hi, as

```
attr_accessible :id, :_id, :_type
```

implicitly sets all other fields to attr_protected (right?), it's not possible to revert the change of commit 16c37486 with this single line. In my case this means to explicitly include all other fields after attr_accessible.

Is there any more elegant solution to this?
Thanks and best regards,
Frank