lib/active_support/deprecation/reporting.rb in activesupport-7.2.0.beta1 vs lib/active_support/deprecation/reporting.rb in activesupport-7.2.0.beta2

- old
+ new

@@ -150,10 +150,10 @@ [offending_line.path, offending_line.lineno, offending_line.label] end def _extract_callstack(callstack) ActiveSupport.deprecator.warn(<<~MESSAGE) - Passing the result of `caller` to ActiveSupport::Deprecation#warn is deprecated and will be removed in Rails 7.3. + Passing the result of `caller` to ActiveSupport::Deprecation#warn is deprecated and will be removed in Rails 8.0. Please pass the result of `caller_locations` instead. MESSAGE offending_line = callstack.find { |line| !ignored_callstack?(line) } || callstack.first