Forum: Ruby on Rails uninitialized constant Cart::CartItem

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
A415c62a9052d153387deeb3c9ff0260?d=identicon&s=25 gino (Guest)
on 2007-06-06 21:19
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: <h3>Your Shopping Cart</h3>
7: <ul>
8:   <% for item in @cart.cart_items %>
9:   <li id="cart_item_<%= %>">
10:     <%= render :partial => "cart/item", :object => item %>
11:   </li>
This topic is locked and can not be replied to.