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.

ActionDispatch::TestRequest - Undefined method `env_config' when Rails.application is nil

#6492

When instantiating an ActionDispatch::TestRequest, it raises an undefined method error when Rails.application is nil. Although it checks for defined?(Rails.application), it fails to check whether the application is really present.

Included patch adds the additional check needed (with tests).

Reported by Josep M. Bach · March 1st, 2011 @ 11:53 AM

State: new
Milestone: none
Assigned to: nobody
Importance: none

Activity