Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

eafou6g's latest activity

Tuesday, February 15 2011
5935 next_month get stuck was updated in Ruby on Rails
  • eafou6g
    eafou6g commented at 2:09 PM

    It is not Rails' bug, but Ruby's.
    And it seems for me that it was fixed at ruby-1.8.7-p299.
    Anyway, please ignore this ticket.
    Thank you.

    $ ./script/console
    Lo...
Tuesday, November 09 2010
5935 next_month get stuck was updated in Ruby on Rails
  • eafou6g
    eafou6g commented at 4:32 AM

    rails: 2.3.8
    ruby: ruby 1.8.7 (2010-01-10 patchlevel 249) [i486-linux]

    Is it enough?

  • eafou6g
    eafou6g commented at 3:51 AM

    I'm sorry, I found that it correctly throws ArgumentError exception on rails 3.0.1

    irb(main):004:0>  DateTime.new(1125899999995008, 12).next_month
    ArgumentErro...
  • eafou6g
    eafou6g created the ticket at 12:51 AM
    >> DateTime.new(1125899999995008, 11).next_month
    => Sat, 01 Dec 1125899999995008 00:00:00 0000
    

    it's OK, but this one get stuck

    >> DateTime.new(11258999999950...