Page 114 of 211,279, showing 20 records out of 4,225,570 total, starting on record 2,261, ending on 2,280
# | Username | Text | |
---|---|---|---|
# | Aug 7th 2008, 04:45 | alkemann | it'd be a bit complicated, it is an obvious step. But i was thinking maybe if u want that, its better to use the Versioning beahvior with shadowtables? |
# | Aug 7th 2008, 04:46 | achew22 | alkemann: you could do both, associate the log change with a shadowtable's element id |
# | Aug 7th 2008, 04:47 | JeffEmbracedDC | Martz: in your join table model... is in belongsTo or hasOne back associations? |
# | Aug 7th 2008, 04:47 | alkemann | be hard to make it totally general though, would have to be associated with the specific Version behavior i think |
# | Aug 7th 2008, 04:47 | alkemann | JeffEmbracedDC: belongsTo, since the key is in that model |
# | Aug 7th 2008, 04:48 | JeffEmbracedDC | alkemann: cool :) |
# | Aug 7th 2008, 04:48 | achew22 | alkemann: if you mixed versioning with logging with polymporphic you would be able to do it |
# | Aug 7th 2008, 04:48 | achew22 | not to make it complicated or anything |
# | Aug 7th 2008, 04:49 | alkemann | i will definitivly take a look at it |
# | Aug 7th 2008, 04:49 | achew22 | that would be a great addition I'd give you a hug if you did that |
# | Aug 7th 2008, 04:49 | Martz | JeffEmbracedDC: yeah, as alkemann said. Something like: User, Groups, GroupUsers. GroupUsers belongsTo User, Group. User hasMany GroupUsers. Group hasMany GroupUsers - and find more recursively |
# | Aug 7th 2008, 04:49 | alkemann | i love hugs! :P |
# | Aug 7th 2008, 04:50 | achew22 | get ready for some major hugs then -- right after I see that code ;) |
# | Aug 7th 2008, 04:50 | alkemann | ur using a versioning behavior now? |
# | Aug 7th 2008, 04:51 | achew22 | I know the book has one |
# | Aug 7th 2008, 04:51 | achew22 | ad7 would know |
# | Aug 7th 2008, 04:51 | alkemann | is the documentation in Logable too sparse? |
# | Aug 7th 2008, 04:52 | achew22 | if I turned it into a professor yes, but for me its just fine |
# | Aug 7th 2008, 04:52 | alkemann | im not in school anymore. its all about practical :P |
# | Aug 7th 2008, 04:52 | achew22 | ah but I live in the strange high paced dev world / slow paced higly documented educational world still |