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.

[PATCH] Allow session(:on)

#136

If sessions were disabled using session(:off) in the application

controller, but you need sessions in another controller, session(:on)

seems intuitive as opposed to session(:disable => false).

This patch implements session(:on) with documentation and tests.

Reported by Peter Jones · May 7th, 2008 @ 08:18 PM

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

Activity

  1. Jim James
    Jim James

    Ran into this myself.

    +1

    Jim.

    May 8th, 2008 @ 03:55 PM

  2. Fernand Galiana
    Fernand Galiana

    Much more intuitive.

    +1

    May 8th, 2008 @ 04:05 PM

  3. Rafael Cardoso
  4. Philip Hallstrom
  5. _ugly
  6. ronin
  7. Jason M Jones
    Jason M Jones

    Yes, this fooled me at first too.

    +1

    May 8th, 2008 @ 04:59 PM

  8. Alistair Holt
    Alistair Holt

    +1. It would be the rails way!

    May 8th, 2008 @ 05:00 PM

  9. PJ
    PJ

    Simple, makes sense.

    +1

    May 8th, 2008 @ 05:01 PM

  10. Justin Valentini
  11. tim
  12. Andrew Zielinski
  13. Sergio Espeja
  14. Matt Mower
  15. IQue
  16. Scott Brown
  17. NoamB
  18. Repository
    Repository
    • State changed from new to resolved

    (from [8857994f92293a78df9addbc0998ef02fca82fae]) Added session(:on) to turn session management back on in a controller subclass if the superclass turned it off (Peter Jones) [#136 state:resolved]

    http://github.com/rails/rails/co...

    May 11th, 2008 @ 07:17 PM

  19. Repository
    Repository

    (from [c43623c48b977d05413d86867651bfc3762b745a]) Added session(:on) to turn session management back on in a controller subclass if the superclass turned it off (Peter Jones) [#136 state:resolved]

    http://github.com/rails/rails/co...

    May 11th, 2008 @ 07:19 PM