Page 235 of Simply Rails 2

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?


Rendering stories/show
  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???

I’m going to guess when you are calling your partial, you forgot an = sign.

Call should be

<%= render :partial ... %>

i’m an idiot. thank you.

that one will pop on you again, guarantee it :slight_smile: