From: hanmac@... Date: 2017-06-13T06:54:48+00:00 Subject: [ruby-core:81659] [Ruby trunk Bug#13652] Ruby 2.3.4 does not catch Argument error when comparing DateTime with String Issue #13652 has been updated by Hanmac (Hans Mackowiak). @derekzwy it is fixed in Ruby2.4.1 and active_support 5.1.1 it looks like the bug does happen in your active_support version. Try to update to a newer one. ---------------------------------------- Bug #13652: Ruby 2.3.4 does not catch Argument error when comparing DateTime with String https://bugs.ruby-lang.org/issues/13652#change-65355 * Author: derekzwy (Wenyuan Zhang) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: 2.3.4 * Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN ---------------------------------------- Ruby 2.3.4 does not catch Argument error when comparing DateTime with String, while Ruby 2.1.5 catches it and return false. ---Files-------------------------------- ruby 2.3.4.png (168 KB) ruby 2.1.5.png (133 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: