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.

render :partial => '/top_level_partial' should find app/views/_top_level_partial.html.erb

#795

In edge there are MissingTemplate exceptions arising from calls to render :partial for "top-level" partials that have been working up until 2.1.

I am attaching a proposed solution to this ticket as a patch and putting a pull request on github. (Don't know if doing the latter without review of the patch is bad form.) (?)

I'm open to any better way to achieve the behavior in these tests, but I have opted for the very explicit approach.

Reported by Matt Harvey · August 10th, 2008 @ 07:16 PM

State: resolved
Milestone: none
Assigned to: josh josh
Importance: none

Activity

  1. Matt Harvey
  2. Matt Harvey
    Matt Harvey

    Yeah, so I think I even found a better way myself. I'll attach a new patch. I also updated on github.

    matth79/rails at 36990e6

    August 10th, 2008 @ 08:27 PM

  3. josh
    josh
    • Assigned user set to josh
    • Tag changed from actionpack, edge, patch, tests to actionpack, patch, tests
    • Milestone cleared.

    August 10th, 2008 @ 09:41 PM

  4. josh
    josh
    • State changed from new to resolved

    August 14th, 2008 @ 03:00 AM