Hey guys,
I’m having a little trouble working out partials.
I have successfully made a partial work in my list.rhtml, but as I see
it on
the 15min introductry video. They guy uses one partial on multipul
pages.
At the moment I am trying this in my show.rhtml, I write <%= render
:partial
=> “journal” %> and I get this.
NoMethodError in Write#show
4: <%= write.date.to_s(:long) %>
Trace of template inclusion: /app/views/write/show.rhtml
RAILS_ROOT: C:/source/lifejournal/public/…/config/…
If anyone has any answers, please help a n00b.
Thanks