On 2010-06-16 08:56, Garth wrote:
> Let me know if you figure this out - I'm having the same problem.

      session[:fish] = ! session[:fish]
      @site_session = request.env['rack.session.record']

The fishy line, or equivalent, seems to be required to ensure that Rails 
creates a
session object.

I don't know that this is the best way to get the session model
object.  It's pretty deranged compared to '... = session.model'.

> -- Garth

--
Nick

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to