This project is archived and is in readonly mode.
[PATCH] Refactoring AssociationProxy and subclasses to avoid @finder_sql, @counter_sql, etc
-
Jon Leighton
- Tag changed from active_record, associations, refactoring to active_record, associations, patch, refactoring
-
Aaron Patterson
- State changed from new to incomplete
- Milestone set to 3.1
- Importance changed from to Low
I tried out this patch, but the AR tests fail miserably. Can you make sure everything works, then submit the patch again. Thanks.
-
Jon Leighton
Hi Aaron,
Damn! Thanks for taking the time to look at this and really sorry that I messed it up. It looks like a teeny bit of my nested associations patch slipped through the net here. I don't know how that happened. Sorry.
It was a one line fix which I've applied - updated patch attached. I've run all the tests and they work.
Cheers,
Jon -
Jon Leighton
Hiya,
Is it possible to re-mark this as "open" as I have fixed the patch? I've re-applied and tested it today, it still applies cleanly and works. Just don't want it to get buried and forgotten, especially as I'm thinking that this needs to get in before the overall nested through associations patch can be looked at easily.
Thanks very much,
Jon -
Aaron Patterson
- State changed from incomplete to open
Hey! I've marked it open again, and I'll take a look. Thanks!
-
Aaron Patterson
- State changed from open to committed
Sorry I took so long, but it's merged in now. Thanks!
-
Jon Leighton
Lovely, thanks.
