Eloy Duran
Developer · Member of 1 project: Ruby on Rails
Eloy Duran's latest activity
Wednesday, March 11 2009
-
Eloy Duran commented at 2:51 PMApparently the "always been the case" autosave exists for has_one relationships too....
That's correct.
I would really appreciate the ability to explicitly d...
-
- Assigned user set to Eloy Duran
- State changed from new to open
- Milestone cleared.
Patch applies and fixes mentioned problem. So +1.
I just wonder if the tests shouldt be added to the "default" tests in autosave_association_test.rb.
Tuesday, March 10 2009
-
-
- Title changed from Nested attributes doesn't run removing association callbacks to AutosaveAssociation doesn't run removing association callbacks
-
- State changed from open to verified
I applied and test your patch and it works as expected.
I then moved the tests to the AutosaveAssociation tests, because that's actually where it happens, not i...
-
- State changed from new to open
Looks great!
I'll try to find some time tonight to apply and check it out.
-
Eloy Duran commented at 11:41 AMVery good, a few comments:
- There is now a little bit of repetition in association_collection #delete and #destroy. How about refatoring the common code into a ...
-
Eloy Duran commented at 8:58 AMAh I understand now. The difference is that you don't get callbacks to the parent that a associated records will be removed. Ok, I'll pick this up again when I ...
-
Eloy Duran commented at 8:54 AMI tried this, as per your thoughts Eloy ( hopefully I understood them correctly, your saying the problem is the parent not being loaded by just doing a #first?...