cartman icon indicating copy to clipboard operation
cartman copied to clipboard

uninitialized constant User::Cartman

Open aguipluto opened this issue 11 years ago • 0 comments

I'm begining with RoR and I'm developing a new shop app using cartman. The problem is that following the example of the wiki, I have an error triying to add an item to the cart because of this code:

def cart Cartman::Cart.new(id) end

and the error is:

uninitialized constant User::Cartman

what I'm doing wrong?

Thanks for the help

aguipluto avatar Nov 20 '13 22:11 aguipluto