From: rafa.cbl@... Date: 2017-12-04T13:55:44+00:00 Subject: [ruby-core:84088] [Ruby trunk Bug#14154] Ruby 2.4 and support for rails 3 Issue #14154 has been reported by lima (Rafael Lima). ---------------------------------------- Bug #14154: Ruby 2.4 and support for rails 3 https://bugs.ruby-lang.org/issues/14154 * Author: lima (Rafael Lima) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: 2.4.2 * Backport: 2.3: UNKNOWN, 2.4: UNKNOWN ---------------------------------------- After upgrading a Rails project from 2.1.5 to 2.4.2 I ran into a number of failing tests. Seems like a behavior of **ActiveSupport::Duration can't be coerced into Integer** I���ve looked at some important changes that are part of the Ruby 2.4 (such as **Integer class unification**). These modifications represent improvements to the language, but at the same time, they may not be fully compatible with existing code that runs in Ruby 2.3 or earlier. Some extra work might be needed with gems or third-party libraries to avoid problems with Ruby 2.4. Was it intended to be that way even though it's not a major upgrade? -- https://bugs.ruby-lang.org/ Unsubscribe: