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.

Ian White's latest activity

Tuesday, May 18 2010
4242 Nested child only updates if parent changes. was updated in Ruby on Rails
  • Ian White
    Ian White commented at 10:36 AM

    Ok, here's 2 patches, one against 2-3-stable, and one against master.

    The patch tests cases where the grand-parent is has_many, and where the great-grandparent ...

Saturday, May 15 2010
4242 Nested child only updates if parent changes. was updated in Ruby on Rails
  • Ian White
    Ian White commented at 3:43 PM

    (replied via email, but the reply doesn't seem to have showed up here, so I'll post here as well - apologies if there is duplication)

    Hi José,

    I believe that th...

  • Ian White
    Ian White commented at 3:13 PM

    I've tidied up Jeff's patch, and have also added code to make creating and deleting records in nested associations work as well. Posting here as proof of concep...

Saturday, September 19 2009
3231 #routes_for method doesn't work at all was updated in Ruby on Rails
  • Ian White
    Ian White commented at 8:38 AM

    @Josh, it doesn't really fix the issue as #routes_for and #routes_for_controller_and_action have different signatures, and return different things. I was checki...

Friday, September 18 2009
3231 #routes_for method doesn't work at all was updated in Ruby on Rails
  • Ian White
    Ian White commented at 6:42 PM

    My use case is for a plugin called resources_controller. This plugin enables controllers to load nesting resources by introspecting the route that invoked the c...

  • Ian White
    Ian White created the ticket at 8:49 AM

    (in AR::Routing::RouteSet)

    In ticket #3023, #routes_for_controller_and_action is deprecated in favour of #routes_for. I am using #routes_for_controller_and_acti...

3198 nested resource routes not generated correctly (rails 2.3) was updated in Ruby on Rails
  • Ian White
    Ian White commented at 8:33 AM

    @Josh, as Tom says, using generate_best_match fixes it. As does flipping the order of the route declaration.

    Is this expected Rails 3 behaviour?

Monday, September 14 2009
3198 nested resource routes not generated correctly (rails 2.3) was created in Ruby on Rails
  • Ian White
    Ian White created the ticket at 1:23 PM

    In rails 2.3 nested resource routes are not generated correctly. In particular, nestings show up as query params instead of nesting path segments.

    This behaviou...

Friday, September 11 2009
3023 Removed unused routing method was updated in Ruby on Rails
  • Ian White
    Ian White commented at 8:41 PM

    The deprecation warning suggests that the routes_for method be used instead. Hoowever, this method doesn't work. It references a controller and action local var...

Friday, February 06 2009
1894 inflector.rb has syntax error (commit 3c0006d in 2-2-stable) was created in Ruby on Rails