News for hackers. Stuff that matters.
Re:Ruby 2.4.0-preview1 released by mnarayan01 on Wednesday June 22, 2016 @01:02AM (#11951668)
Heh...I also ran into an issue with ActiveSupport::Duration, though in my case when passed as the only argument to a method with a signature along the lines of `f(time = 30, [star][star]options)`, with the error involving #to_hash. Since newer versions of ActiveSupport fix it, I didn't look into it too careful (just called #to_i). I'm glad you did!
Re:Ruby 2.4.0-preview1 released by tcopeland on Saturday June 25, 2016 @02:16PM (#11977328)
Ah ha! It was a Ruby bug... longer writeup here:

http://thomasleecopeland.com/2016/06/26/basicobject-is-a-ran...

Re:Ruby 2.4.0-preview1 released by tcopeland on Wednesday June 22, 2016 @06:53AM (#11952762)
Yeah sounds like in the same ballpark. David Stostik did a nice writeup of the oddities of ActiveSupport::Duration 4.1 here http://www.bnjs.co/2015/01/14/rails-date-class-durations-and....

I'm surprised that I haven't seen anything about that respond_to? change in the blogs; maybe I've just missed it. I might blog this, although I hate ending a post with "gosh I don't know about this one". Makes me feel like I haven't done all my homework.