rails/rails — pull request #6429 by marcandre (2012-05-21 19:28:46+00:00)
Title: Fix bug when Rails.application is defined but is nil. See #881

Got hit by this bug today. Credits should go to Josep M. Bach , see #881.