This project is archived and is in readonly mode.

#1140 ✓wontfix
Ben VandenBos

partials named "_next" crash render

Reported by Ben VandenBos | September 29th, 2008 @ 11:30 PM

To repro, create a partial called, "_next.html.erb", then try to render it.

You get something like the following:


Showing widget/profile_completeness/_next.html.erb where line #52 raised:

compile error
/[path_removed]/_next.html.erb:-3: syntax error, unexpected '=', expecting kEND
next = local_assigns[:next]
     ^

It should probably either not crash or at least raise an explanatory exception.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Pages