Unitialized constant

In Agile Web D. with Rails, I get this error when adding a
product to my cart:

uninitialized constant Cart

Application Trace:
active_support/dependencies.rb:200:in const_missing' ./public/../config/../app/controllers/store_controller.rb:21:infind_cart’

This error occured while loading the following files:

Any ideas what I did wrong? I can’t find a problem with “find_cart”
or “add_to_cart”. My cart.rb class has been created.


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs