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.

Ian White's latest activity

Sunday, May 04 2008
22 default_url_options is being ignored by named route optimisation was updated in Ruby on Rails
  • Ian White
    Ian White commented at 4:27 PM

    Since this commit, all of my named_routes are failing with

    ArgumentError: wrong number of arguments (1 for 0)
            from (eval):2:in `default_url_options'
    
    ...
63 [BUG] rake db:create and observers was updated in Ruby on Rails
  • Ian White
    Ian White commented at 10:20 AM

    Even simpler: rescue the bootstrapping tasks' db loading

    Given that this is an edge case (trying to load up framework when db

    doesn't yet exist), it makes se...

  • Ian White
    Ian White commented at 10:09 AM

    Well, a really trivial 'fix' is to just rescue observer instantiation, and log the error (patch given on right)

    Given that this is a bootstrapping dependency ...

  • Ian White
    Ian White commented at 9:39 AM

    Stack trace below

    I've attached a git diff of what I had to add to a fresh rails app (6a6b439 Sun Apr 20 12:57:36 2008 +0800) to get the problem to occur.

    I'...

Thursday, May 01 2008
22 default_url_options is being ignored by named route optimisation was updated in Ruby on Rails
  • Ian White
    Ian White commented at 8:36 AM

    +1 applies cleanly on 6f20efd (Wed Apr 30 23:30:50 2008 -0500)

    I've been bitten by this one, thanks for the patch

Tuesday, April 29 2008
63 [BUG] rake db:create and observers was created in Ruby on Rails
  • Ian White
    Ian White created the ticket at 7:29 PM

    If you have an observer, then doing rake db:create in some circumstances (one is described below) causes rail to die with 'unknown database'.

    Obviously a circ...

Tuesday, April 15 2008
1 Since r9244, migrations broken on clean db was updated in Ruby on Rails
  • Ian White
    Ian White commented at 3:57 PM

    The commit url http://github.com/ianwhite/rails...

    (still learning github)

  • Ian White
    Ian White commented at 10:15 AM

    If your test/ci stuff wipes out a database then migrates up to a particular version, then you'll see this.

    The reason I saw is that this is exactly what rspec...

Monday, April 14 2008
1 Since r9244, migrations broken on clean db was updated in Ruby on Rails