Ask A Question

Notifications

You’re not receiving notifications from this thread.

rails migration warnings

Semicolon asked in 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

Reply

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.

Reply

Thankyou verymuch Chris Oliver

Reply
Join the discussion
Create an account Log in

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

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

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