We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8746c6 commit ed5362bCopy full SHA for ed5362b
lib/truffle/truffle/cext.rb
@@ -112,6 +112,10 @@ module Truffle::CExt
112
LIBTRUFFLERUBY = libtruffleruby
113
end
114
115
+ # Rails 6 overrides `Time.at` in a way that doesn't delegate keyword arguments to the original `Time.at` method.
116
+ # The issue was fixed in Rails 6.1 but wasn't backported.
117
+ # It causes ArgumentError exception when `rb_time_timespec_new` function is called in the `pg` gem.
118
+ # See https://github.com/rails/rails/issues/47586.
119
ORIGINAL_TIME_AT = Time.method(:at)
120
121
def self.register_libtruffleruby(libtruffleruby)
0 commit comments