When attr_accessible is used, we may assume that watcher_ids and watcher_user_ids is already protected from mass assignment. Therefore we do not need to perform additional actions. Also, when attr_protected and attr_accessible is used on the same model, AR throws nasty "Declare either attr_protected or attr_accessible for *, but not both." errors.pull/41/head
parent
1c1a7c9d84
commit
ad1f36b16d
Loading…
Reference in new issue