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.

George Ogata's latest activity

Sunday, February 14 2010
3956 Add rake task to find unused routes was created in Ruby on Rails
  • George Ogata
    George Ogata created the ticket at 3:35 AM

    It'd be nice to have an easy way to find routes which aren't mapped to anything.

    The patch attached adds a routes:unused task. Like "rake routes", but only prin...

Friday, December 04 2009
3533 Backport :inverse_of from 3.0 to 2.3.x was updated in Ruby on Rails
  • George Ogata
    George Ogata commented at 6:57 AM

    I think it's safe to say my patches haven't been used much by others yet. I only wrote them recently.

    That said, one is just a one-line bug fix. The polymorphic...

Wednesday, December 02 2009
3533 Backport :inverse_of from 3.0 to 2.3.x was updated in Ruby on Rails
  • George Ogata
    George Ogata commented at 6:26 AM

    Tested both my patches on top of Murray's patch on 2-3-stable. The whole stack applies cleanly and the tests pass. It's also quite a simple modification to Acti...

Sunday, November 29 2009
3513 :inverse_of not honored when replacing a has_one association was updated in Ruby on Rails
  • George Ogata
    • Tag set to activerecord, inverse_of, patch, tested
    by George Ogata at 9:01 PM
3119 [patch] IntegrationTest not propagating method_missing when appropriate was updated in Ruby on Rails
3520 Add inverse polymorphic association support was created in Ruby on Rails
  • George Ogata
    George Ogata created the ticket at 8:44 PM

    The attached patch adds support for :inverse_of on a polymorphic belongs_to association.

    require 'active_record'
    ActiveRecord::Base.establish_connection('adapt...
Thursday, November 26 2009
3513 :inverse_of not honored when replacing a has_one association was created in Ruby on Rails
  • George Ogata
    George Ogata created the ticket at 5:12 AM

    When assigning to, or calling #replace, on a has_one association, the inverse association is not set.

    The patch attached fixes this.

    require 'active_record'
    
    A...
Thursday, October 01 2009
3119 [patch] IntegrationTest not propagating method_missing when appropriate was updated in Ruby on Rails
  • George Ogata
    George Ogata commented at 3:42 AM

    Thanks much, Elomar. I should get better about chasing up my tickets before they go stale... :-/

Monday, August 31 2009
3119 IntegrationTest not propagating method_missing when appropriate was created in Ruby on Rails
  • George Ogata
    George Ogata created the ticket at 5:39 AM

    AC::IntegrationTest:

    • derives from AS::TestCase.
    • has a method_missing which delegates methods to its Session object.
    • does not propagate the method_missing to it...
Tuesday, March 17 2009
2270 Make script/server use a different pid file for each port. was created in Ruby on Rails
  • George Ogata
    George Ogata created the ticket at 2:13 PM

    script/server always uses the same pid file name when daemonized. So if you start a second server on another port, it'll clobber the first's pid file.

    This stic...