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.

Mark Reginald James's latest activity

Wednesday, January 07 2009
1706 Clearing a has_many does not nil the object FKs, and loading a has_many adds ... was created in Ruby on Rails
  • Mark Reginald James
    Mark Reginald James created the ticket at 3:06 AM

    A response to the unexpected behaviour described in this mailing list thread.

    First, the has_many delete_records method is patched to nil the foreign keys of t...

Saturday, January 03 2009
1688 Layout option for partial collections specifies an overall layout rather than... was updated in Ruby on Rails
  • Mark Reginald James
    • Title changed from Layout option does not work when rendering partial collections to Layout option for partial collections specifies an overall layout rather than a partial layout
    by Mark Reginald James at 3:54 AM
  • Mark Reginald James
    Mark Reginald James commented at 3:52 AM

    The duplication is fixed in the current master, but render always looks for and treats the provided layout as a layout for the entire collection.

    I think being ...

Friday, January 02 2009
1688 Layout option does not work when rendering partial collections was created in Ruby on Rails
  • Mark Reginald James
    Mark Reginald James created the ticket at 11:02 AM

    Say file _item.html.erb contains

    
    <%= item %>
    

    and file _bracket.html.erb contains

    
    [<%= yield %>]
    

    then

    
    <%= render :partial => 'item', :layout => 'bra...
Sunday, December 28 2008
1622 Incorrect parsing of query parameters with mixed-depth nesting inside an array was updated in Ruby on Rails
Tuesday, December 23 2008
1622 Incorrect parsing of query parameters with mixed-depth nesting inside an array was created in Ruby on Rails
  • Mark Reginald James
    Mark Reginald James created the ticket at 6:08 PM

    Query parameters

    
    x[y][][z]=10&x[y][][v][w]=10
    

    (parameter order is important!)

    are assembled into the params hash as

    
    {"x"=>{"y"=>[{"v"=>{}, "z"=>"10"}]}}...