What do I do about a deprecation warning if my own code is innocent?
RuntimeError: Deprecating @session, but it’s already set to
#<ActionController::TestSession:0xb698eb10 @attributes={“flash”=>{}},
@saved_attributes=nil, @session_id=“”>! Use the session= writer method
instead of setting @session directly.
/usr/lib/ruby/gems/1.8/gems/actionpack-
blah blah blah
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.1/lib/action_controller/test_process.rb:353:in
`get’
I might reproduce the problem in a sample project upon request, but this
has
to be easy, right?
Should I grep for a @session.= and monkey-patch it? There are too
freaking
many of them!
–
Phlip
http://www.greencheese.us/ZeekLand ← NOT a blog!!!