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.

There was a problem

You must be a member of this account.

Geoff Buesing's latest activity

Thursday, April 09 2009
2465 [Rails 2.3.1] Time zone information is not loaded from fixtures was updated in Ruby on Rails
  • Geoff Buesing
    Geoff Buesing commented at 5:13 PM

    What did you expect, and what did you get instead?

    Try using just Time.now.utc, see if that fixes things.

Tuesday, March 31 2009
2304 Add concept of weekdays was updated in Ruby on Rails
  • Geoff Buesing
    • State changed from new to wontfix
    by Geoff Buesing at 2:51 PM

    Nice work, would be nice as a gem/plugin, but I don't think this is right for core. Reasons:

    1. "weekday" can mean either "day of the week" (i.e., all seven week...

Monday, March 30 2009
1964 [patch] mysql time_zone should reflect default_timezone was updated in Ruby on Rails
  • Geoff Buesing
    Geoff Buesing commented at 2:47 PM

    It's still not clear to me what this would allow you to do that you can't do now. Can you give some specific use cases, e.g., "I'm trying to do X but I can't"?

Sunday, March 29 2009
1713 DateTime#to_time should always return a Time was updated in Ruby on Rails
Wednesday, March 18 2009
2257 default_scope with named_scope or scoped merge broken on 2.3 was updated in Ruby on Rails
  • Geoff Buesing
    Geoff Buesing commented at 9:20 PM

    I'm noticing this broken behavior too. Haven't had a chance to look into the reasons why yet.

Saturday, March 14 2009
2019 Format two-digit years correctly was updated in Ruby on Rails
  • Geoff Buesing
    Geoff Buesing commented at 5:10 PM

    This isn't a Rails bug: you're assigning a String object to an attribute, and Rails is passing that value to your database.

    Your particular database is interpre...

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

    Your implementation does a time zone conversion, which is adding new behavior to this method. The resulting object is equivalent in a #to_i sense (i.e., seconds...

725 ActiveRecord UTC support on find with :conditions was updated in Ruby on Rails
  • Geoff Buesing
    Geoff Buesing commented at 3:47 PM

    ActiveRecord conditions don't do automatic UTC conversions on Time objects passed in as arguments, so the fact that this query:

    
    XXX.find_all_by_YYY('yyy', :c...
Wednesday, March 11 2009
2066 Time + Duration misbehaves on DST boundary was updated in Ruby on Rails
  • Geoff Buesing
    Geoff Buesing commented at 3:21 AM

    Revised patch looks good. I'll pull this in after 2.3 final is pushed. Thanks!

Tuesday, March 10 2009
2066 Time + Duration misbehaves on DST boundary was updated in Ruby on Rails
  • Geoff Buesing
    Geoff Buesing commented at 5:02 PM

    Also, no longer a need to go through Numeric#since -- i.e. seconds.since(self) -- we should now be able to call Time#+ directly, i.e. self + seconds.

    Time#since...