Logs for

Page 74 of 211,239, showing 20 records out of 4,224,762 total, starting on record 1,461, ending on 1,480

# At Username Text
# Aug 7th 2008, 00:48 polerin sorry, but i'm dead tired and I'm going to need to minimize this window so I can concentrate
# Aug 7th 2008, 00:49 polerin too many things to do that aren't "manually create this join table fixture"
# Aug 7th 2008, 00:49 polerin P
# Aug 7th 2008, 00:50 TonkaTruck Eddie_CRO: Yeah basically just design the result you want from find()...the only rule seems to be that you cannot violate your relationships...which is obvious...but still is worth noting because it seems to be the only rule.
# Aug 7th 2008, 00:51 ChipotleCoyote ACTION should fall over. Too much alcohol to do real coding, or even coding planning.
# Aug 7th 2008, 00:51 TonkaTruck Eddie_CRO: http://bin.cakephp.org/view/319462953 also see this because it includes my find()
# Aug 7th 2008, 00:51 Eddie_CRO what do you mean design the result.
# Aug 7th 2008, 00:53 TonkaTruck Eddie_CRO: in that contain(), just think "what do I want from find?" That's how I got it to work. Skip Class.field for now because I'm not sure if that goes inside the parent model or parallel with it.
# Aug 7th 2008, 00:53 polerin it goes with the Class model
# Aug 7th 2008, 00:53 TonkaTruck Also note 'recursive' in the find() itself.
# Aug 7th 2008, 00:53 polerin which is usefull, because it meens that you can specify conditions for things that are on the other side of a multi-select find
# Aug 7th 2008, 00:54 Eddie_CRO Tonka: yes, but try to put in the last array a condition like FormPost.somefield = somevalue
# Aug 7th 2008, 00:55 Eddie_CRO and check if it gives you the Forum record back although it doesn't contain formpost's condition.
# Aug 7th 2008, 00:55 Eddie_CRO it seems it does.
# Aug 7th 2008, 00:55 Eddie_CRO just with empty FormPost array.
# Aug 7th 2008, 00:56 TonkaTruck I get an empty forumpost array if there are no forumposts for that topic.
# Aug 7th 2008, 00:57 Eddie_CRO yes but you get the record for Forum.
# Aug 7th 2008, 00:57 Eddie_CRO which is not what you want
# Aug 7th 2008, 00:57 TonkaTruck Yes. I'm assuming because I'm doing $this->Forum->find()
# Aug 7th 2008, 00:57 Eddie_CRO you don't want records for Forum if it doesn't have that specific ForumPost condition.