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.

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

#2167

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'

Reported by rdclark (at nextquestion) · March 8th, 2009 @ 03:07 AM

State: invalid
Milestone: 2.x
Assigned to: josh josh
Importance: none

Activity

  1. CancelProfileIsBroken
    CancelProfileIsBroken
    • 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.

    March 8th, 2009 @ 11:01 AM