Save 36% for Black Friday! Learn more

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