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.

Jeremy Evans's latest activity

Tuesday, March 29 2011
6062 ActiveSupport assumes too much about how Date/DateTime are implemented, break... was updated in Ruby on Rails
  • Jeremy Evans
    Jeremy Evans commented at 7:52 PM

    Looks like tenderlove fixed this earlier this month (https://github.com/rails/rails/commit/33f222b9e1b20aa6264084ec2c8c3..., but didn't merge it into the stable...

  • Jeremy Evans
    • Tag changed from active_support, core_ext, date, datetime, home_run to active_support, core_ext, date, datetime, home_run, ruby-head
    by Jeremy Evans at 7:45 PM

    This currently affects ruby-head even without home_run, since tadf merged his switch_hitter patch:

    $ gem list | grep active
    activesupport (3.0.5)
    $ ruby -v -r ...
Saturday, February 26 2011
6062 ActiveSupport assumes too much about how Date/DateTime are implemented, break... was updated in Ruby on Rails
  • Jeremy Evans
    • State changed from stale to open
    by Jeremy Evans at 2:48 AM

    [state:open] This still hasn't been fixed, and the patch probably still applies. While it currently only affects people that use home_run, as soon as tadf (ruby...

Thursday, November 25 2010
6062 ActiveSupport assumes too much about how Date/DateTime are implemented, break... was updated in Ruby on Rails
  • Jeremy Evans
    • Tag changed from date datetime home_run core_ext active_support to active_support, core_ext, date, datetime, home_run
    by Jeremy Evans at 5:43 PM

    I'm attaching a tested patch that fixes DateTime#+ and DateTime#- to work both with and without home_run, including some new tests for it.

  • Jeremy Evans
    Jeremy Evans created the ticket at 7:22 AM

    ActiveSupport assumes that DateTime inherits certain methods from Date, such as -. This is true in the standard library (where dates are stored as datetimes), b...