crambler — 2010-04-05T16:21:22-04:00 — #1
I have followed all of the code exactly to the letter and checked for typos.
This portion of the book deals with rendering partials. For some reason the contents of my partial are not being displayed but I am getting no errors from the server. plain text is showing but the contents of the partial are not. is there a setting i am missing somewhere?
crambler — 2010-04-05T17:20:23-04:00 — #2
SQL (0.1ms) SELECT count(*) AS count_all FROM "votes" WHERE ("votes".story_id = 3)
CACHE (0.0ms) SELECT count(*) AS count_all FROM "votes" WHERE ("votes".story_id = 3)
Vote Load (0.2ms) SELECT * FROM "votes" WHERE ("votes".story_id = 3)
Rendered votes/_vote (33.3ms)
is says the partial is being rendered but no display???
kmsolorio — 2010-04-05T18:55:23-04:00 — #3
I'm going to guess when you are calling your partial, you forgot an = sign.
Call should be
<%= render :partial ... %>
crambler — 2010-04-05T18:58:10-04:00 — #4
kmsolorio — 2010-04-05T19:09:25-04:00 — #5
that one will pop on you again, guarantee it