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.

Geoff Buesing's latest activity

Monday, January 19 2009
879 Finding the days/weeks/months/years between two dates was updated in Ruby on Rails
  • Geoff Buesing
    Geoff Buesing commented at 3:51 PM

    Also just noticed the Duration * and / methods in @Dan Barry's patch -- I think that that could be extracted into its own patch -- would be nice if

    
    5.days * ...
  • Geoff Buesing
    Geoff Buesing commented at 3:40 PM

    Also: @Dan Barry, just curious, where does the mysterious 512 multiplier in your patch derive from? :-)

  • Geoff Buesing
    Geoff Buesing commented at 3:37 PM

    Seems like this could be useful stuff. But I think the idea needs to start off in a plugin first, so that we'll better understand the common use cases that we c...

1255 time.end_of_day not entirely accurate was updated in Ruby on Rails
  • Geoff Buesing
    • Tag changed from activesupport, time, timestamps to activesupport, time, usec
    • State changed from new to open
    by Geoff Buesing at 3:05 PM

    I can see how this would result unexpected behavior when you're sorting or comparing based on a timestamp -- you'd assume, for example, that any record that was...

Sunday, January 11 2009
1339 AR::Base should not be nuking it's children, just because it lost interest was updated in Ruby on Rails
  • Geoff Buesing
    Geoff Buesing commented at 8:54 PM

    @C. Bedard -- if the Rails.cache memory store marshaled objects before storing, and unmarshaled them on retrieval, then it would never return instances of strip...

1713 DateTime#to_time should always return a Time was updated in Ruby on Rails
  • Geoff Buesing
    Geoff Buesing commented at 8:23 PM

    It's worked this way for all 2.x releases; we'd really need a good reason to change this behavior now.

    Do you have a specific use case where you run into an iss...

1725 TimeWithZone#xmlschema doesn't accept fraction_digits argument was updated in Ruby on Rails
  • Geoff Buesing
    Geoff Buesing commented at 8:04 PM

    @Nicholas -- thanks, good catch! I pulled this into 2-2-stable as well.

Thursday, January 08 2009
1339 AR::Base should not be nuking it's children, just because it lost interest was updated in Ruby on Rails
  • Geoff Buesing
    Geoff Buesing commented at 4:05 PM

    @C. Bedard -- in regards to your patch: by working around issues with #id and #skip_time_zone_, you may just be pushing the problem further downstream, instead ...

  • Geoff Buesing
    Geoff Buesing commented at 3:44 PM

    @C. Bedard -- thanks for the example, very helpful to have this. I think you're right about the explicit require mucking up the works with Dependencies and clas...

Wednesday, January 07 2009
1339 AR::Base should not be nuking it's children, just because it lost interest was updated in Ruby on Rails
  • Geoff Buesing
    Geoff Buesing commented at 6:01 PM

    @Emili -- config.active_record.default_timezone represents the zone that times are persisted in -- you can only set this to :utc or :local; 'Madrid' is not a va...