rails/rails — Issue #3355: NoMethodError (undefined method `request_uri' for ActionDispatch)
Author: Alamoz
Created: 2011-10-18 04:32:25+00:00
State: open

I'm running a Rails 3.1.1 app successfully on my development system, no problems. In my production environment I get the error:

NoMethodError (undefined method `request_uri' for #):

I'm not using request.uri in my code. All my gems are updated. This is lame, it really messed me up. Of course I shouldn't assume production will work the same as development, I really need to use two production environments (one for staging.) But I really expected better than this.

Thanks.