Use attr_accessible only for Rails < 4