Re: Deprecating @session, but it's already set

Actually I had the test case containing the get :index inside a suite
derived from Test::Rails::ViewTestCase; moving it to a normal functional
suite fixed the problem.

The error message could have been clearer, though! :wink:

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs