Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include information by whom is the deprecated code called.
It helps to find the code/gem that uses deprecated API. Enhances rails#51760 Previously when running rails console: ``` DEPRECATION WARNING: Extending Rails console through `Rails::ConsoleMethods` is deprecated and will be removed in Rails 8.0. Please directly use IRB's extension API to add new commands or helpers to the console. For more details, please visit: https://github.com/ruby/irb/blob/master/EXTEND_IRB.md (called from include at /home/wojtek/.asdf/installs/ruby/3.3.2/lib/ruby/gems/3.3.0/gems/railties-7.2.0.beta2/lib/rails/console/methods.rb:6) Loading development environment (Rails 7.2.0.beta2) ``` After: ``` DEPRECATION WARNING: Extending Rails console through `Rails::ConsoleMethods` is deprecated and will be removed in Rails 8.0. Please directly use IRB's extension API to add new commands or helpers to the console. For more details, please visit: https://github.com/ruby/irb/blob/master/EXTEND_IRB.md Called via `MissionControl::Jobs::Console::Helpers` (called from include at /home/wojtek/.asdf/installs/ruby/3.3.2/lib/ruby/gems/3.3.0/gems/railties-7.2.0.beta2/lib/rails/console/methods.rb:6) Loading development environment (Rails 7.2.0.beta2) ```
- Loading branch information