This project is archived and is in readonly mode.

#2167 ✓invalid
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

  • CancelProfileIsBroken

    CancelProfileIsBroken March 8th, 2009 @ 11:01 AM

    • State changed from “new” to “invalid”

    The test script from 1864 (attached for convenience) works fine for me on edge. Also, your error message indicates you're using 2.3.0 AR, where RC2 is 2.3.1. Please check your configuration and resubmit with a failing test script if you're still seeing issues on verified edge.

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=""></a>

People watching this ticket