I want to use find_or_create_by, but this statement does NOT work. It does not \"find\" or \"create\" with the other attributes.
productproperty = ProductPro
I've found in Rails 3.1 you do not need to pass the attributes in as a hash. You just pass the values themselves.
ProductProperty.find_or_create_by_product_id_and_property_id_and_value( product.id, property.id, d[descname])