Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

ActionView::Template extension processing bug

#2315

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.

Reported by Dominique Brezinski · March 23rd, 2009 @ 06:24 PM

State: resolved
Milestone: 2.x
Assigned to: josh josh
Importance: none

Activity

  1. thedarkone
  2. Repository
    Repository
    • State changed from new to resolved

    (from [6a1267a0b12560a752ebfb443194de1a0ab3bef5]) Fix template extension parsing. [#2315 ActionView::Template extension processing bug state:resolved] [#2284 ActionView::Template doesn't support multipart formats with locale state:resolved]

    Signed-off-by: Joshua Peek josh@joshpeek.com http://github.com/rails/rails/co...

    March 24th, 2009 @ 03:54 PM

  3. Repository
    Repository

    (from [ae9f258e03c9fd5088da12c1c6cd216cc89a01f7]) Fix template extension parsing. [#2315 ActionView::Template extension processing bug state:resolved] [#2284 ActionView::Template doesn't support multipart formats with locale state:resolved]

    Signed-off-by: Joshua Peek josh@joshpeek.com http://github.com/rails/rails/co...

    March 24th, 2009 @ 03:54 PM