Created
May 17, 2009 18:39
-
-
Save rgo/113090 to your computer and use it in GitHub Desktop.
relative_url_root gotcha rails 2.3.x passenger
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Problem: `load_missing_constant’: uninitialized constant ActionController::AbstractRequest (NameError) | |
Solution: | |
-ActionController::AbstractRequest.relative_url_root = "your_root" | |
+config.action_controller.relative_url_root = "your_root" | |
# More gotchas: http://giantrobots.thoughtbot.com/2009/4/15/rails-2-3-2-upgrade-gotchas |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment