/ Published in: Rails
"The new naming scheme for template (eg. .html.erb) does not seem to work for partials. When using :partial => 'form' a filename "_form.html.erb" is not recognized. "
Rails now requires the partial to be referenced by dotted format
Rails now requires the partial to be referenced by dotted format
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
render :partial 'foo.html.erb' # renders '_foo.html.erb'
URL: http://dev.rubyonrails.org/ticket/8076