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.

chrispanda's latest activity

Monday, August 30 2010
5344 #localtime fails for TimeWithZone-wrapped DateTimes was updated in Ruby on Rails
  • chrispanda
    chrispanda commented at 6:21 PM

    I am also seeing this error with ruby 1.9.2
    DateTime.now.in_time_zone.localtime
    NoMethodError: undefined method getlocal' for Mon, 30 Aug 2010 13:28:15 +0000:Da...

Monday, November 24 2008
1455 ActiveResource Failed With Rails 2.2.1 was updated in Ruby on Rails
  • chrispanda
    chrispanda commented at 12:13 PM

    I'm seeing the same problem - I have two almost identical models controllers and views - one throws the error, the other doesn't. If I manage to narrow it down ...

Wednesday, November 05 2008
1290 ActiveRecord raises randomly, apparently a TimeZone issue was updated in Ruby on Rails
  • chrispanda
    chrispanda commented at 5:39 PM

    sorry - my problem was unrelated though it threw a similar error - fixed by replacing

    
    config.time_zone = 'UTC'
    

    with

    
    config.active_record.default_timezone...
  • chrispanda
    • Assigned user changed from josh to Geoff Buesing
    • Tag changed from activerecord, bug, cache to activerecord, bug, date, datetime, edge, timezone, utc
    by chrispanda at 3:44 PM

    I think I just hit the same bug - or at least similar Loading data into a model in the console I get:

    
    NoMethodError: You have a nil object when you didn't ex...