Uninitialized constant Cart::CartItem

I am following a tutorial and get thar error creating a cart, and can’t
figure it out,

uninitialized constant Cart::CartItem

Extracted source (around line #8):

5:

Your Shopping Cart


6:
7:

    8: <% for item in @cart.cart_items %>
    9:

  • 10: <%= render :partial => “cart/item”, :object => item %>
    11:

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