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.

"yield" doesn't work with content_for_layout and render :file

#3459

See http://gist.github.com/226606. Running error.rb produces a "no block given" error.

Reported by nex3 · November 5th, 2009 @ 01:49 AM

State: resolved
Milestone: 3.0.2
Assigned to: Yehuda Katz (wycats) Yehuda Katz (wycats)
Importance: High

Activity

  1. Carson Baker
  2. Jose Fernández
    Jose Fernández
    • Tag set to patch

    I found the same error, seems that the block was not passed in this cass, solved it by explicitly passing it. Made a test and seems to work as expected and not to break anything. Patch included

    February 23rd, 2010 @ 05:57 PM

  3. José Valim
    José Valim
    • Milestone cleared.
    • Assigned user changed from Yehuda Katz (wycats) to José Valim

    February 23rd, 2010 @ 09:03 PM

  4. José Valim
    José Valim
    • Assigned user changed from José Valim to Yehuda Katz (wycats)
    • State changed from new to open

    Handing it back to Yehuda.

    February 26th, 2010 @ 06:22 PM

  5. Santiago Pastorino
  6. Santiago Pastorino
    Santiago Pastorino
    • State changed from open to verified

    March 4th, 2010 @ 09:15 PM

  7. Yehuda Katz (wycats)
    Yehuda Katz (wycats)
    • State changed from verified to resolved

    March 5th, 2010 @ 04:52 PM

  8. Jeremy Kemper
    Jeremy Kemper
    • Milestone set to 3.0.2
    • Importance changed from to High

    October 15th, 2010 @ 11:01 PM