This project is archived and is in readonly mode.

#2169 ✓duplicate
rdclark (at nextquestion)

regression (1864): Can't store non-ActiveRecord models in session

Reported by rdclark (at nextquestion) | March 8th, 2009 @ 03:07 AM | in 2.x

The error in ticket 1864, squashed in earlier release candidates, has returned in rc3. It happens when the result page is rendered after the action:

/!\ FAILSAFE /!\ Sat Mar 07 19:03:09 -0800 2009 Status: 500 Internal Server Error undefined class/module Cart

/Users/rdclark/.gem/ruby/1.8/gems/activerecord-2.3.0/lib/active_record/session_store.rb:67:in `dump'
/Users/rdclark/.gem/ruby/1.8/gems/activerecord-2.3.0/lib/active_record/session_store.rb:67:in `marshal'

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Pages