admin管理员组文章数量:1405118
In a rails 7.2 app I am seeing the following deprecation warning:
DEPRECATION WARNING: `rails/console/app` has been deprecated and will be removed in Rails 8.0.
Please require `rails/console/methods` instead.
(called from <main> at /Users/name/app/gems/railties-7.2.2.1/lib/rails/console/app.rb:3)
DEPRECATION WARNING: `rails/console/helpers` has been deprecated and will be removed in Rails 8.0.
Please require `rails/console/methods` instead.
(called from <main> at /Users/name/.rvm/gems/ruby-3.3.7@app/gems/railties-7.2.2.1/lib/rails/console/helpers.rb:3)
Loading custom initializer /Users/chris/Sites/golf_mentor/config/initializers/console.rb
Loading development environment (Rails 7.2.2.1)
The rails 8.0 release notes imply I should remove occurrences of require "rails/console/app"
or require "rails/console/helpers"
, but I do not have any occurrences of these in the app. How do I silence this deprecation warning?
本文标签: How do I suppress rails 80 39railsconsoleapp39 deprecation warningStack Overflow
版权声明:本文标题:How do I suppress rails 8.0 'railsconsoleapp' deprecation warning - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744214184a2595558.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论