Christopher Swasey (endash)
bug whisperer (#sproutcore: endash) · Not a member
Christopher Swasey (endash)'s latest activity
Monday, May 19 2008
-
Christopher Swasey (endash) commented at 6:09 AMI am just all kinds of wrong tonight. You can, of course, call #build on a new record just fine. (it's #create that you can't call on a new record)
-
Christopher Swasey (endash) commented at 5:27 AMAh... the two records want to validate each other. That results in a nice runaway loop.
Code could be added to the validation to prevent looping, but I'm wond...
-
Christopher Swasey (endash) commented at 4:47 AMA quick look through the source seems to suggest that simply adding the existing record to the association collection of the new record would create the desire...
-
Christopher Swasey (endash) commented at 4:10 AMFrom what I can tell, this isn't a bug:
When you #build off an association, the join table is updated when you call #save on the object from which you called ...
-
Christopher Swasey (endash) commented at 3:51 AMI misread the ticket, and I was wrong about the tests covering this case.
-
Christopher Swasey (endash) commented at 3:38 AMCould you clarify what version of rails you are using? Edge rails includes tests which test this functionality, and they all pass.
Also, #build doesn't save t...