This project is archived and is in readonly mode.

#2315 ✓resolved
Dominique Brezinski

ActionView::Template extension processing bug

Reported by Dominique Brezinski | March 23rd, 2009 @ 06:24 PM | in 2.x

The simple case of the bug is that templates with file names of *.erb.* take precedence over *.erb. I found this issue by applying a a diff with patch, and the old version of the template (.erb.orig) was being processed instead of the new one (.erb).

Another odd case is that templates with names like foo.erb_old will cause ActionView to fail to load a template even if foo.erb exists in the same directory.

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

Attachments

Referenced by

Pages