Just an update to this. I was trying to do the same thing, specifically 
have a Rails3 app read some state from the session set by Rails2. I got 
it working by doing what Brad M. suggested, making Rails3 aware of the 
Rails2 class that was missing.

I included the definition of ActionController::Flash in a file that got 
loaded at startup. It was necessary to comment out two calls to 
alias_chain_method right at the start of the code. It appears this works 
for Rails3 to read what Rails2 has put into the session, and that's all 
I need to do.

I'm not going to push it any further but suspect this might provide 
others with a migration strategy.

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to