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

Tuesday, September 15 2009
2340 action mailer can't deliver mail via smtp on ruby 1.9.1 was updated in Ruby on Rails
3078 ActionMailer 2.3.3 broke display name support in from address when using SMTP was updated in Ruby on Rails
  • Levin Alexander
    Levin Alexander commented at 12:58 PM

    duplicate of #2340, don't know which of the patches is better

Wednesday, September 09 2009
3176 Fixtures data should be reset between tests was created in Ruby on Rails
  • Levin Alexander
    Levin Alexander created the ticket at 6:55 PM

    When I have two Tests:

    class FirstTest < ActiveSupport::TestCase
      fixtures :foo
    
      test "some test case" do
        assert(Foo.count > 0)
      end
    end
    
    class SecondT...
Saturday, August 08 2009
2431 deprecate fails on methods ending with equal sign was updated in Ruby on Rails
  • Levin Alexander
    Levin Alexander commented at 11:57 PM

    seems they are also valid in ruby 1.8.6:

    system:~$ ruby --version
    ruby 1.8.6 (2007-06-07 patchlevel 36) [x86_64-linux]
    system:~$ ruby -e "p :foo="
    :foo=
    
Friday, August 07 2009
2340 action mailer can't deliver mail via smtp on ruby 1.9.1 was updated in Ruby on Rails
  • Levin Alexander
    Levin Alexander commented at 1:40 PM

    attached is Joeys patch as git-format-patch.

Thursday, June 25 2009
2838 ActiveSupport::Duration#inspect for zero length duration was created in Ruby on Rails
  • Levin Alexander
    Levin Alexander created the ticket at 9:49 PM

    calling inspect for a duration of 0.seconds returns an empty string. This surprised me. I'd have expected one of the following:

    • '0 seconds' (or minutes/hours/y...
2431 deprecate fails on methods ending with equal sign was updated in Ruby on Rails
  • Levin Alexander
    • Tag changed from active_support, patch to 2.x, 3.0, active_support, patch, small
    by Levin Alexander at 12:05 AM
  • Levin Alexander
    Levin Alexander commented at 12:04 AM

    attached is a patch against current master

Wednesday, June 24 2009
2605 ActiveSupport::JSON parses dates was updated in Ruby on Rails
  • Levin Alexander
    Levin Alexander commented at 11:11 PM

    This is especially bad if the Dates-strings are invalid:

    >> ActiveSupport::JSON.decode('{"date":"2009-01-01"}')
    => {"date"=>Do, 01 Jan 2009}
    >> ActiveSupport::...