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.

James Le Cuirot's latest activity

Friday, July 09 2010
5053 child/grandchild associations reload from db after nested attributes assignment was updated in Ruby on Rails
  • James Le Cuirot
    James Le Cuirot commented at 9:15 AM

    Neeraj, your "refactoring" of my changes in load_target doesn't have the same behaviour. If a record is marked for destruction but otherwise unchanged, it shoul...

Thursday, July 08 2010
4830 Updates to relationship resources are lost was updated in Ruby on Rails
  • James Le Cuirot
    James Le Cuirot commented at 9:22 AM

    You don't have to call send(:load_target). I think we only do that in the tests because we need to call find on the array itself, not ActiveRecord's find. If we...

Sunday, July 04 2010
5044 Recent named_scope STI fix causes a massive slow down and memory leak was updated in Ruby on Rails
  • James Le Cuirot
    James Le Cuirot commented at 3:07 PM

    1.8.7.

    (sorry, had a fight with the tagger)

  • James Le Cuirot
    • Tag changed from leak patch, 2-3-stable, activerecord, memory, named_scope, scoped to memory leak, 2-3-stable, activerecord, named_scope, patch, scoped
    by James Le Cuirot at 2:56 PM
  • James Le Cuirot
    • Tag changed from activerecord 2-3-stable named_scope scoped memory leak patch to leak patch, 2-3-stable, activerecord, memory, named_scope, scoped
    by James Le Cuirot at 2:55 PM
  • James Le Cuirot
    James Le Cuirot created the ticket at 2:00 PM

    Commit 687d7f52c4a1d85666f1efc08ffa182e6dfeba57 (against 2-3-stable) from ticket #1570 is flawed and causes a massive slow down and memory leak. This caused my...

1570 named_scope not preserving proper model in STI was updated in Ruby on Rails
  • James Le Cuirot
    • Importance changed from to
    by James Le Cuirot at 2:08 PM

    This commit causes a massive slow down and memory leak. Please see #5044.

Thursday, July 01 2010
4183 Possible memory leak in Rails 3 was updated in Ruby on Rails
  • James Le Cuirot
    James Le Cuirot commented at 7:07 PM

    I take it no one has seen this in 2-3-stable? I witnessed some horrendous memory leaks today after updating Rails from 94878c61a329891eb904ace5b06dbc50831869d8 ...

Wednesday, June 30 2010
4642 Unsaved changes to nested attribute collections are lost when using collection was updated in Ruby on Rails
  • James Le Cuirot
    James Le Cuirot commented at 11:40 PM

    Damn. Sorry. I should have tested that explicitly. Now I have and here's a patch with a fix. Note that this will still load any outside updates to the record if...

4830 Updates to relationship resources are lost was updated in Ruby on Rails
  • James Le Cuirot
    James Le Cuirot commented at 11:09 AM

    I'm having a crisis this morning but I'll try and look into this tonight.