Created
November 10, 2011 23:04
-
-
Save mipearson/1356558 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| diff --git a/lib/new_relic/control/frameworks/rails3.rb b/lib/new_relic/control/ | |
| index f09cbf1..0199070 100644 | |
| --- a/lib/new_relic/control/frameworks/rails3.rb | |
| +++ b/lib/new_relic/control/frameworks/rails3.rb | |
| @@ -20,7 +20,9 @@ module NewRelic | |
| def root | |
| value = ::Rails.root.to_s | |
| if value.empty? | |
| - super | |
| + ActiveSupport::Deprecation.silence do | |
| + super | |
| + end | |
| else | |
| value | |
| end |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fork available at http://github.com/mipearson/rpm as well