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.

S. Brent Faulkner's latest activity

Saturday, August 30 2008
838 add support for shallow nesting of resource routes was updated in Ruby on Rails
  • S. Brent Faulkner
    S. Brent Faulkner commented at 5:29 AM

    I saw a recent commit to resources.rb and tested the patch. It wouldn't apply again, so I've rebased and attached the new one...

Friday, August 22 2008
838 add support for shallow nesting of resource routes was updated in Ruby on Rails
Tuesday, August 19 2008
838 add support for shallow nesting of resource routes was updated in Ruby on Rails
  • S. Brent Faulkner
    S. Brent Faulkner commented at 3:54 PM

    tests pass, documentation included, please consider for commit

    (hey, dhh thought it was ok :-)

825 eager_load_nested_include_test should not be dependent on id values was updated in Ruby on Rails
  • S. Brent Faulkner
    • Title changed from test_include_query(EagerLoadPolyAssocsTest) fails for test_mysql when auto_increment_increment != 1 to eager_load_nested_include_test should not be dependent on id values
    by S. Brent Faulkner at 3:51 PM
Monday, August 18 2008
825 test_include_query(EagerLoadPolyAssocsTest) fails for test_mysql when auto_in... was updated in Ruby on Rails
  • S. Brent Faulkner
    S. Brent Faulkner commented at 1:54 AM

    As per suggestions on ruby-core...

    • You should probably hold the objects, not the ids in the class arrays.
    • You could use after_saves to do the storing
    • You coul...
Sunday, August 17 2008
838 add support for shallow nesting of resource routes was updated in Ruby on Rails
  • S. Brent Faulkner
    S. Brent Faulkner commented at 5:50 AM

    regarding (b) ... I had actually thought that this was already supported, but must have been thinking of the ActiveRecord finder :include option, so added it in...

  • S. Brent Faulkner
    S. Brent Faulkner commented at 5:14 AM

    Thanks again, David.

    I've attached a new patch with:

    a) documentation

    b) the support for passing deep :has_many information using a hash/array

    for example:

    ...
Saturday, August 16 2008
838 add support for shallow nesting of resource routes was updated in Ruby on Rails
  • S. Brent Faulkner
    • Title changed from add support for selective resource routes to add support for shallow nesting of resource routes
    by S. Brent Faulkner at 1:13 PM
  • S. Brent Faulkner
    S. Brent Faulkner commented at 12:52 PM

    OK... how about this? I've attached a new patch for resource mapping (and appropriate tests) that implements (optional) shallow nesting for resources.

    This all...