change Shoppe::ProductAttribute.public to Shoppe::ProductAttribute.publicly_accessible