File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
activerecord/lib/active_record
railties/test/application Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ def clear_cache # :nodoc:
154
154
155
155
def query_source_location # :nodoc:
156
156
Thread . each_caller_location do |location |
157
- frame = LogSubscriber . backtrace_cleaner . clean_frame ( location . path )
157
+ frame = LogSubscriber . backtrace_cleaner . clean_frame ( location )
158
158
return frame if frame
159
159
end
160
160
nil
Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ def app
163
163
get "/" , { } , { "HTTPS" => "on" }
164
164
comment = last_response . body . strip
165
165
166
- assert_match ( /source_location='.*'/ , comment )
166
+ assert_match ( /source_location='.*\d + '/ , comment )
167
167
end
168
168
169
169
test "controller tags are not doubled up if already configured" do
You can’t perform that action at this time.
0 commit comments