Closed digitalbias closed 11 years ago
Discovered that the 'solution' is to use ruby 1.9.2 instead of 1.8.7 because find_by: uses the new hash syntax instead of =>.
Fixed in my fork
Could you submit a pull request to fix this issue? Thanks.
Fixed in b381ede8e119ff10187030b4ac74f50e8f4fd55b
Using rails 3.2.3 and the latest spree I get the following error when trying to add digital versions to a product:
SyntaxError (.bundler/ruby/1.8/spree_digital-49ac794ba76c/app/controllers/spree/admin/digitals_controller.rb:3: syntax error, unexpected ':', expecting kEND belongs_to "spree/product", find_by: :permalink ^):