Log message #2301941

# At Username Text
# Sep 23rd 2011, 16:53 jonathansnook NetersLandreau: I'm on 1.3
# Sep 23rd 2011, 16:53 mdunham918_ after i set that in my core is seems sessions timeout even faster
# Sep 23rd 2011, 16:53 destinydriven jose_zap, github account done
# Sep 23rd 2011, 16:53 mdunham918_ I'm using cakephp rc1 at the moment
# Sep 23rd 2011, 16:53 mdunham918_ my session keeps timing out fast like if i don't browse within 30 minutes I'm kicked out and i do not want that i set this in my core.php http://bin.cakephp.org/view/1429287401
# Sep 23rd 2011, 16:52 mdunham918_ !bin
# Sep 23rd 2011, 16:52 mdunham918_ ok im stuck
# Sep 23rd 2011, 16:51 NetersLandreau jonathansnook: which version are you working with? 1.3 or 2.0?
# Sep 23rd 2011, 16:51 destinydriven ok, I think I opened a github account some time ago
# Sep 23rd 2011, 16:50 JD-Robbs Or that :)
# Sep 23rd 2011, 16:50 jonathansnook I have Query and Query.User. did the trick.
# Sep 23rd 2011, 16:50 jose_zap destinydriven: Time to open a github account and fork cake
# Sep 23rd 2011, 16:50 JD-Robbs Ah okay :D
# Sep 23rd 2011, 16:50 JD-Robbs UserProfile being your second
# Sep 23rd 2011, 16:50 JD-Robbs So you get Model->User->UserProfile and Model->Settings
# Sep 23rd 2011, 16:50 JD-Robbs $this->MyModel->contain(array('User' => 'UserProfile' , 'Settings')) ...
# Sep 23rd 2011, 16:50 jonathansnook )
# Sep 23rd 2011, 16:50 jonathansnook JD-Robbs: just tried it. I can.
# Sep 23rd 2011, 16:50 JD-Robbs Second level like so:
# Sep 23rd 2011, 16:49 jonathansnook JD-Robbs: the problem is that the models are off of the second level model, not the first level. Unless, can I do ModelName.SubModelName?
# Sep 23rd 2011, 16:47 destinydriven I downloaded with tarball
# Sep 23rd 2011, 16:47 JD-Robbs jonathansnook: You'd need to specify all models you need in the contain array
# Sep 23rd 2011, 16:47 jose_zap destinydriven: did you download cakephp with git or the tar ball?
# Sep 23rd 2011, 16:46 destinydriven jose_zap, not really
# Sep 23rd 2011, 16:46 destinydriven k
# Sep 23rd 2011, 16:46 jose_zap destinydriven: are you familiar with git?
# Sep 23rd 2011, 16:46 jose_zap destinydriven: ok
# Sep 23rd 2011, 16:46 jonathansnook Containable seems to prevent the recursion from continuing down the chain. Easy answer?
# Sep 23rd 2011, 16:44 destinydriven jose_zap, I'm ready with the oracle stuff
# Sep 23rd 2011, 16:39 NetersLandreau yep.. if you don't use it, you will lose it :)
# Sep 23rd 2011, 16:38 jonathansnook NetersLandreau: yea, I don't use cake nearly as often as I used to. I'm a little rusty. :)
# Sep 23rd 2011, 16:37 destinydriven jose_zap, I've fired up a test app
# Sep 23rd 2011, 16:37 NetersLandreau jonathansnook: a nick i have not seen for a long time..
# Sep 23rd 2011, 16:36 jonathansnook excellent. thanks!
# Sep 23rd 2011, 16:36 JD-Robbs And then the associated models and their conditions
# Sep 23rd 2011, 16:36 JD-Robbs 'contain' => array()
# Sep 23rd 2011, 16:35 JD-Robbs ;)
# Sep 23rd 2011, 16:35 jonathansnook Thanks.
# Sep 23rd 2011, 16:35 jonathansnook Ah. That does sound familiar.
# Sep 23rd 2011, 16:35 JD-Robbs Containable
# Sep 23rd 2011, 16:35 jonathansnook I thought you could just specify the condition on the model name like $this->ModelName->SubModel->conditions = ...