-
Bookmarked http://blog.hasmanythrough.com/2007/1/12/new-session-false
a page on blog.hasmanythrough.comDon't make a new one on my accountHere's a fairly obscure but useful trick to optimize session usage in Rails. I can pretty safely bet that you haven't used it yet because it was broken until two…
has_many :through: Don't make a new one on my account
“Using the :new_session => false option tells Rails not to create a new session if there isn’t one already” - useful for where you may want to have logged in site owners but not create sessions for guests (eg blog)