Derander
Not a member
Derander's latest activity
Monday, August 10 2009
-
- Tag changed from activerecord, patch to activerecord, patch
Jose Valim found an error in my understanding of the patch.
The problem is not found by examining the value of p.custom_count, instead, starting from p.save:
p....
-
Derander commented at 7:44 AM+1 verified, applies to master.
I read the test, looks like it is testing the right thing. I'll look into a patch.
-
Derander commented at 7:37 AM+1, this seems like an appropriate change. Shouldn't break backwards compatibility.
Applies cleanly to latest master & tests pass.
-
Derander commented at 7:07 AM+1 verified patch applies to master.
This is a good idea, API consistency is A Good Thing™.
-
Derander commented at 7:02 AM-1, verified behavior in 2-3-stable... I agree with Dan. I think that :skip_nils is a good idea Hugo, but it would probably be better as a new ticket.
Sunday, August 09 2009
-
Derander commented at 11:41 PMI don't think a mixin is needed because HashWithIndiff inherits from Hash.
Anyways, here is an alternate implementation of the above patch where it replaces Has...
-
-
Derander commented at 9:52 PMTo verify the fix,
rails test2
cd test2
script/generate model Post title:string custom_count:integer
script/generate model Comment title:string post_id:integer
...