Return to Snippet

Revision: 5699
at March 28, 2008 05:08 by cczona

Initial Code
render :partial 'foo.html.erb' # renders '_foo.html.erb'

Initial URL

Initial Description
"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

Initial Title
Rendering partials in Rails 2.0

Initial Tags
rails, ruby

Initial Language