ok i’m having problems moving a piece of code into a partial
I have a line in a view:
<%= image_tag( createturing ) %>
moving to a partial _createturing.rhtml and changing the view to:
gives errors:
ActionView::TemplateError (can’t convert nil into String) on line #1
of accounts/_createturing.rhtml:
1: <%= image_tag( createturing ) %>
what changes do i need to make when i move it into the partial?
btw: the function createturing is in a helper if that makes a
differance!