I am seeing an unusual hiccup related to Active Record Session store that happens intermittently (and I am unable to reproduce locally):
NoMethodError: undefined method `delete' for nil:NilClass Rails: 3.2.21 (I am running Spree 2.0.13.beta) I am using active_record_store and the stacktrace does not pass through my app. Interestingly, the stacktrace passes thruogh active_record/session_store.rb code (see full stacktrace https://gist.github.com/jasonfb/817b37e262e8247e85a2) Some observations: • I tried logging in as this user and also hijacking the user's session by record id (moving a fake session id into the sessin id & data fields of the session where the symptom is) -- I was unable to reproduce this in dev completely. • This happening on different users on different places in my app (occurance is 1 in several thousand hits). • It looks like it happens for the same user a couple of times in a row (makes sense if they load more than 1 page with the same session problem) • Examining the sessions table for the sessions where the problem is happening I see that the 'data' field is very large for these records, for example: https://gist.github.com/jasonfb/109af1b7f1595c115c85 All of the records with bad sessions have a very large amount of data in them, whereas my other session records look to have just a few lines of data in them. Any suggestions for a remedy here? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/aa61cd3c-5693-4cef-a353-e616928c38b8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

