<% if @cart.items.empty? %>
|^|^|^|^|^|^|^|^|^|^|^|^|^|
This peice of code is having a problem in the store.rhtml of my
application but i have no idea why… it says that it is and (extracted
source… here is the Store.rhtml… this is from an application made in
“Ruby on Rails” and it wont tell me how to fix it… iv done everything
in the book the exact way its told me, and there was an error…

<div id= "cart"
--------------> <% if @cart.items.empty? %>
style=“display: none”
<% end %>
<%= hidden_div_if(@cart.items.empty?, :id => "cart") %>
<%= render(:partial => "cart", :object => @cart) %>
</div>
<a href="http://www....">Home</a><br />
<a href="http://www..../faq">Questions</a><br />
<a href="http://www..../news">News</a><br />
<a href="http://www..../contact">Contact</a><br />
</div>
<div id="main">
<% if flash[:notice] -%>
<div id="notice"><%= flash[:notice] %></div>
<% end -%>
<%= @content_for_layout %>
</div>
</div>
<% if flash[:notice] -%>
<div id="notice"><%= flash[:notice] %></div>
<% end -%>
</body>
If you could help me on this that would be so awsome… i just started
reading “Ruby on Rails” a little while ago… im on chapter 10 still
learning, so im kind of a newbie…
thanks. James