Sha256: e4ebe6afde5b4b35501f90c114d7fcb0d39a9e09798cb8bed241ea3906e3f080
Contents?: true
Size: 411 Bytes
Versions: 7
Compression:
Stored size: 411 Bytes
Contents
# Rails 4.2 call `initialize` inside `recycle!`. However Ruby 2.6 doesn't allow calling `initialize` twice. # See for detail: https://github.com/rails/rails/issues/34790 if RUBY_VERSION.to_f >= 2.6 && Rails::VERSION::MAJOR < 5 class ActionController::TestResponse < ActionDispatch::TestResponse def recycle! @mon_mutex_owner_object_id = nil @mon_mutex = nil initialize end end end
Version data entries
7 entries across 7 versions & 1 rubygems