New Discussion

Notifications

You’re not receiving notifications from this thread.

rails migration warnings

2
Rails

When I run rails db:migration

it works but there will warnings like below..

/home/paritech/.rbenv/versions/2.7.0/lib/ruby/gems/2.7.0/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/mysql/schema_statements.rb:158: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/home/paritech/.rbenv/versions/2.7.0/lib/ruby/gems/2.7.0/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract/schema_definitions.rb:260: warning: The called method `initialize' is defined here

Totally fine and part of running Ruby 2.7.0 with Rails right now. They're just warnings like it says and it will be updated in Rails core shortly.

Thankyou verymuch Chris Oliver

Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 89,237+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.