Displaying 1 result from an estimated 1 matches for "cart_domain_id_".
2010 Oct 11
0
undefined method `includes_values' for :conditions:Symbol
...hat rails is generating it.
I have a cart that has many cart_items and a cart item belongs to a
domain.
When I try to access the domain in my cart view I get the
''includes_values'' error on this item (item.domain.id)
<% @cart.cart_items.each{|item| %>
<li id="cart_domain_id_<%=item.domain.id%>" class="cart-item">
Now if I access the domain object in the controller it works fine
for item in @cart.cart_items
item.domain.name #TODO total hack to avoid undefined method
`includes_values'' for :conditions:Symbol
end
Obviousl...