Ruby 2.7 - Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
Laykou opened this issue · 1 comments
Laykou commented
With Ruby 2.7 there is a problem using the belongs_to
association:
/Users/laykou/.rvm/gems/ruby-2.7.1/gems/notable-0.3.0/app/models/notable/request.rb:5: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/Users/laykou/.rvm/gems/ruby-2.7.1/gems/activerecord-6.0.3.1/lib/active_record/associations.rb:1657: warning: The called method `belongs_to' is defined here