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

Saturday, May 17 2008
195 Convenience methods for time zones outside the U.S. was updated in Ruby on Rails
  • Geoff Buesing
    Geoff Buesing commented at 8:17 PM

    The us_zones method is potentially helpful to devs all over the world, not just US-based devs.

    Proof in point: the us_zones method was first added to the fram...

Friday, May 16 2008
195 Convenience methods for time zones outside the U.S. was updated in Ruby on Rails
  • Geoff Buesing
    Geoff Buesing commented at 2:37 PM

    Here's an example of how to float a custom grouping of zones to the top of time_zone_select:

    # config/initializers/time_zones.rb:
    MY_ZONES = [ TimeZone['Alas...
  • Geoff Buesing
    Geoff Buesing commented at 4:36 AM

    To be clear, I'm not advocating leaving out one world region. I'm advocating that we only add additional TimeZone convenience methods to core if we can prove t...

Thursday, May 15 2008
195 Convenience methods for time zones outside the U.S. was updated in Ruby on Rails
  • Geoff Buesing
    Geoff Buesing commented at 3:14 PM

    1. If we're to add more convenience methods for grouping time zones, we need to justify each one we add: it should address a common, real-world application nee...

199 Use lazy evalution and caching for us_zones in TimeZones was updated in Ruby on Rails
  • Geoff Buesing
    Geoff Buesing commented at 2:45 PM

    It's probably also worth exploring, is the current method of matching against a regex really all that slow? Maybe a quick benchmark would help justify your eff...

  • Geoff Buesing
    Geoff Buesing commented at 2:32 PM

    If we're going to preload us_zones, we need to make it thread-safe -- see TimeZone.all for an example of how to do this, if you're interested in updating this ...

202 Include TimeZone shortcuts other than #us_zone was updated in Ruby on Rails
Tuesday, May 13 2008
175 TimeWithZone#to_json should include time zone was updated in Ruby on Rails
  • Geoff Buesing
    • Assigned user set to Rick
    by Geoff Buesing at 2:21 PM

    This is a good catch -- we should make the output of #to_json consistent across Time, DateTime, and TimeWithZone instances.

    The outstanding question is, is th...

Friday, May 09 2008
105 Assigning strings with timezone information to timezone aware attributes stri... was updated in Ruby on Rails
Thursday, May 08 2008
105 Assigning strings with timezone information to timezone aware attributes stri... was updated in Ruby on Rails
  • Geoff Buesing
    Geoff Buesing commented at 5:19 AM

    @Scott: thanks for the updated patch; I'll try to pull this in in the next couple of days.

    @Dan: String#to_time has ignored the time zone since it was first a...