nikz
Not a member
nikz's latest activity
Sunday, July 06 2008
-
- Tag changed from activerecord to activerecord, edge, patch, tested
Patch against edge attached :)
Saturday, July 05 2008
-
nikz commented at 5:37 AMIt looks like Rails isn't saving the second head - the query:
SELECT `chicken_id` FROM `heads` WHERE (`heads`.chicken_id IS NULL AND `heads`.id <> 10)is t...
-
nikz commented at 5:15 AMHey Oleg,
Ah right :) Nope, I don't think it's to do with the bug I ran into before upon closer inspection.
I'm still playing with it (as the fact that you g...
Monday, June 30 2008
-
nikz commented at 11:39 PMHey Oleg,
It's not to do with scoping at all is it?
What does your create_head method look like?
I've run into this one previously I think...
Cheers,
Nik
Saturday, June 28 2008
-
nikz commented at 2:09 AM@Pratik: awww, but this changeset is everything I need to get has_one working :(
Are we certain we don't want the alias working for the hash conditions?
If s...
Monday, June 23 2008
-
nikz commented at 1:52 AM@Josh: Sweet, I'll see what I can do about merging yours and Lawrence's changes, and the :conditions changes. After I (hopefully) get this accepted.
@Lawrence...
-
nikz commented at 1:14 AMWhat's the best way to integrate everything?
I agree with MatthewRudy that
Model.find_by_association(@association).should == Model.find(:first, :conditions ... -
nikz commented at 12:12 AMI've added the code + tests for polymorphic associations too.
Didn't think it needed any doc changes, as like Josh says, seems pretty much along the lines of ...
Sunday, June 22 2008
-
nikz commented at 11:16 PM@MatthewRudY: Hummm, that diff stuff is weird... Guess I'm not using git format-patch correctly (although I followed the guide).
Anyway, here's a clean diff.
...
-