DEV Community

Discussion on: Hiding Ruby 2.7 Deprecation Warnings in Rails 6

Collapse
 
chrislewis60 profile image
Chris Lewis

You can also choose to have depreciation warnings sent to the log file rather than printed out to the console. For example, in the test environment, add the following to config/environments/test.rb

config.active_support.deprecation = :log
Enter fullscreen mode Exit fullscreen mode