Ruby on Rails Friday, May 28, 2010

Working on Agile web development with rails, 3rd edition.

Every time I put
<%= render(:partial => "cart" , :object => @cart) %>
in store.html.erb, it makes a "</div>" disappear(well, it doesn't show
up when I check with firebug).

When I take this piece of code out, the display returns to normal. I
also tried moving it to the end of the page but it causes other
problems, like none of the items in the cart display on the page.

Here's a picture so I can help u guys help me better. If
you need more information, just ask.

Thanks in advance

Attachments:
http://www.ruby-forum.com/attachment/4760/Screenshot-3.png

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment