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.

Levin Alexander's latest activity

Monday, April 20 2009
2515 db:schema:dump with PostgreSQLAdapter dumps multiple column indexes in undefi... was updated in Ruby on Rails
Thursday, April 16 2009
2515 db:schema:dump with PostgreSQLAdapter dumps multiple column indexes in undefi... was created in Ruby on Rails
  • Levin Alexander
    Levin Alexander created the ticket at 7:29 PM

    When using postgres, db:schema:dump dumps indexes that span multiple columns in an undefined order.

    
    postgres=# CREATE TABLE widgets ( name varchar, amount in...
Monday, April 06 2009
2431 deprecate fails on methods ending with equal sign was updated in Ruby on Rails
  • Levin Alexander
    Levin Alexander commented at 7:27 PM

    attached is an updated patch that adds assert_deprecated { @dtc.f = :foo } to the tests

  • Levin Alexander
    Levin Alexander commented at 7:27 PM

    attached is an updated patch that adds assert_deprecated { @dtc.f = :foo } to the tests

Wednesday, February 25 2009
2067 Numeric::Time is not consistent, giving confusing results to Duration#inspect was updated in Ruby on Rails
  • Levin Alexander
    Levin Alexander commented at 6:46 AM

    I think the rationale is that days and months are not constant, their length depends on the context (1.month could stand for 30 or 31 days, a day might get an e...

2066 Time + Duration misbehaves on DST boundary was updated in Ruby on Rails
  • Levin Alexander
    Levin Alexander commented at 6:37 AM

    There are unit tests in time_ext_test.rb that call for the incorrect behavior:

    
      def test_daylight_savings_time_crossings_forward_start
        with_env_tz 'US/...
  • Levin Alexander
    Levin Alexander commented at 6:09 AM

    ActiveSupport::TimeWithTimezone behaves as expected:

    
    >> Time.local(2009,3,29,0,0,0).in_time_zone("CET") + 24.hours
    => Mon, 30 Mar 2009 01:00:00 CEST +02:00 ...
  • Levin Alexander
    Levin Alexander created the ticket at 5:26 AM

    adding a Duration to a Time misbehaves, when the calculation crosses a DST boundary and the Duration is longer than 24 hours.

    Essentially, it seems that 24.hour...

Saturday, February 14 2009
1916 ActiveSupport::Duration#* should return a Duration, not an Integer was updated in Ruby on Rails
  • Levin Alexander
    Levin Alexander commented at 7:29 PM

    Attached is just the Duration#* part of your (Dan's) patch, because that part seems uncontroversial.

    This patch does not change behavior of Numeric*Duration and...

Monday, February 09 2009
1916 ActiveSupport::Duration#* should return a Duration, not an Integer was updated in Ruby on Rails
  • Levin Alexander
    Levin Alexander commented at 1:40 AM

    there is a small error in the test. It has to say "2 months" (without dot) instead of "2.months"