Closed newterminator closed 10 years ago
I just updated the example to use Rails 4.1.2.
Can you take a look and see if something is missing?
Ok @dabit I am going to check it out right now ... Thanks
Thanks @dabit ... resolved the error ... I downloaded the updated app and went looking for the differences with mine ... And the problem was that while following the Usage instructions found here: https://github.com/crowdint/acts_as_shopping_cart#usage
Where it mentions "if you want to use convention over configuration, make sure your models are called ShoppingCart and ShoppingCartItems, then just use the shortcuts"
While generating the models I copied the names above ... so the error came when I copied "ShoppingCartItems" rather than actually looking at it and realizing that it should actually be "ShoppingCartItem"
I have got the following in my controller ... following the code from the sample app. I get the error uninitialized constant ShoppingCart::ShoppingCartItem in the create method's second line.