We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f65662 commit 30ea287Copy full SHA for 30ea287
activesupport/lib/active_support/deprecation/reporting.rb
@@ -149,8 +149,10 @@ def extract_callstack(callstack)
149
[offending_line.path, offending_line.lineno, offending_line.label]
150
end
151
152
- RAILS_GEM_ROOT = File.expand_path("../../../..", __dir__) + "/" # :nodoc:
153
- LIB_DIR = RbConfig::CONFIG["libdir"] # :nodoc:
+ RAILS_GEM_ROOT = File.expand_path("../../../..", __dir__) + "/"
+ private_constant :RAILS_GEM_ROOT
154
+ LIB_DIR = RbConfig::CONFIG["libdir"]
155
+ private_constant :LIB_DIR
156
157
def ignored_callstack?(path)
158
path.start_with?(RAILS_GEM_ROOT, LIB_DIR) || path.include?("<internal:")
0 commit comments