How to fix Rails’s warning messages with Ruby 2.7.0
To suppress warnings like: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call For now, simply prefix/pass the RUBYOPT environment variable to your rails commands: RUBYOPT=’-W:no-deprecated -W:no-experimental’ rails server or RUBYOPT=’-W:no-deprecated -W:no-experimental’ rails db:migrate This may not work with earlier versions of ruby. For backward compatibility … Read more