only call attr_accessible if it's a thing