You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm sure we are familiar with the deprecation and eventual decommissioning of hashes as implicit keyword parameters (in 2.7 and 3, respectively). There is a formulation of Time.at(epoch, in: offset) that is hooked or wrapped or some such by ActiveSupport, which appears not to account explicitly for keyword arguments, causing the interpreter to complain.
Steps to reproduce
require'time'require'active_support/time'Time.at31337,in: -28800# /usr/local/lib/ruby/gems/2.7.0/gems/activesupport-6.1.1/lib/active_support/core_ext/time/calculations.rb:46: warning: Using the last argument as keyword parameters is deprecated# => 1970-01-01 00:42:17 -0800
Expected behavior
No deprecation warning.
Actual behavior
Said deprecation warning.
System configuration
Rails version: N/A; ActiveSupport 6.1.1
Ruby version: 2.7.2
The text was updated successfully, but these errors were encountered:
I'm sure we are familiar with the deprecation and eventual decommissioning of hashes as implicit keyword parameters (in 2.7 and 3, respectively). There is a formulation of
Time.at(epoch, in: offset)
that is hooked or wrapped or some such by ActiveSupport, which appears not to account explicitly for keyword arguments, causing the interpreter to complain.Steps to reproduce
Expected behavior
No deprecation warning.
Actual behavior
Said deprecation warning.
System configuration
Rails version: N/A; ActiveSupport 6.1.1
Ruby version: 2.7.2
The text was updated successfully, but these errors were encountered: