Only use attr_accessible if needed

https://github.com/hzamani/acts_as_relation/pull/24