Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation warnings when using Ruby 2.7 #160

Open
kvikende opened this issue Feb 19, 2020 · 0 comments
Open

Deprecation warnings when using Ruby 2.7 #160

kvikende opened this issue Feb 19, 2020 · 0 comments

Comments

@kvikende
Copy link

I am seeing a lot of deprecation warnings when using standalone-migrations on ruby 2.7 using the sqlite driver

For example this is the output when using ruby installed by homebrew, with the version output of
ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-darwin19]

rake db:migrate
/usr/local/lib/ruby/gems/2.7.0/gems/activerecord-5.2.4.1/lib/active_record/transactions.rb:212: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/usr/local/lib/ruby/gems/2.7.0/gems/activerecord-5.2.4.1/lib/active_record/connection_adapters/abstract/database_statements.rb:260: warning: The called method transaction' is defined here /usr/local/lib/ruby/gems/2.7.0/gems/activerecord-5.2.4.1/lib/active_record/connection_adapters/abstract/transaction.rb:171: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /usr/local/lib/ruby/gems/2.7.0/gems/activerecord-5.2.4.1/lib/active_record/connection_adapters/abstract/transaction.rb:97: warning: The called method initialize' is defined here
/usr/local/lib/ruby/gems/2.7.0/gems/activerecord-5.2.4.1/lib/active_record/persistence.rb:705: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/usr/local/lib/ruby/gems/2.7.0/gems/activerecord-5.2.4.1/lib/active_record/timestamp.rb:105: warning: The called method _update_record' is defined here /usr/local/lib/ruby/gems/2.7.0/gems/activemodel-5.2.4.1/lib/active_model/type/integer.rb:13: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /usr/local/lib/ruby/gems/2.7.0/gems/activemodel-5.2.4.1/lib/active_model/type/value.rb:8: warning: The called method initialize' is defined here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant