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.

before_filter ignored incase of 302 redirects

#2539

I upgraded to rails 2.3.2 and facing this issue -

When I redirect within the application, it seems to loose lot of values e.g. self.class.layout is somehow unset after a redirect.

Any ideas?

Reported by rubynewbie · April 22nd, 2009 @ 12:51 AM

State: invalid
Milestone: 3.x
Assigned to: Rohit Arondekar Rohit Arondekar
Importance: none

Activity

  1. rubynewbie
    rubynewbie

    More information/questions -

    • I am trying to determine layout for each request based on sub-domain.
    • When I render certain page, page gets rendered but with no layout.

    What I have tried but to no use - - Changing @content_for_layout to yield - session value is getting passed - setting self.class.layout in the action where render is called

    April 22nd, 2009 @ 01:41 AM

  2. smixok (at gmail)
    smixok (at gmail)

    I have the same problem.
    Rails 2.3.5

    March 17th, 2010 @ 08:27 PM

  3. David Trasbo
    David Trasbo
    • Assigned user set to Ryan Bigg

    Please describe how to duplicate this issue and/or provide a patch. This can be marked as incomplete.

    April 15th, 2010 @ 07:45 PM

  4. Ryan Bigg
    Ryan Bigg
    • State changed from new to incomplete

    April 15th, 2010 @ 10:57 PM

  5. Jeremy Kemper
    Jeremy Kemper
    • Milestone changed from 2.x to 3.x

    May 4th, 2010 @ 06:48 PM

  6. David Trasbo
    David Trasbo
    • Assigned user changed from Ryan Bigg to Rohit Arondekar
    • Importance changed from to

    This is not getting anywhere. Can be marked as wontfix for now - maybe someone will describe how to reproduce this issue and/or provide a patch some day.

    July 1st, 2010 @ 08:54 AM

  7. Rohit Arondekar
    Rohit Arondekar

    rubynewbie,smixok — Can one of you please provide steps to reproduce this problem? Even better would be a failing test for Rails and a patch.

    July 1st, 2010 @ 10:03 AM

  8. Rohit Arondekar
    Rohit Arondekar
    • State changed from incomplete to invalid

    I'm closing this ticket for now, in case you need it opened just make a comment with more information and I'll re-open it.

    July 4th, 2010 @ 02:37 AM