Page 291 of 211,262, showing 20 records out of 4,225,230 total, starting on record 5,801, ending on 5,820
# | Username | Text | |
---|---|---|---|
# | Aug 8th 2008, 16:08 | CrazyTux[m] | teknoid, ok cool. |
# | Aug 8th 2008, 16:09 | CrazyTux[m] | teknoid, so why would I get... "call to method of non object on line X" |
# | Aug 8th 2008, 16:09 | teknoid | vudew: are you following the manual? |
# | Aug 8th 2008, 16:09 | unigue_ | vudew: The auth component will automatically hash the password field if the username field is also present in the submitted data |
# | Aug 8th 2008, 16:09 | CrazyTux[m] | teknoid, when I don't include the model, of the controller itself |
# | Aug 8th 2008, 16:09 | teknoid | CrazyTux[m]: doing what? |
# | Aug 8th 2008, 16:09 | CrazyTux[m] | Controller therapies_controller, therapy model..... |
# | Aug 8th 2008, 16:09 | CrazyTux[m] | teknoid, $this->Therapy->contain(array('id')); |
# | Aug 8th 2008, 16:10 | CrazyTux[m] | teknoid, public $uses = array('Services', 'WebListing'); |
# | Aug 8th 2008, 16:10 | CrazyTux[m] | teknoid, so it is as if it overwrites, the default loading of the models? when implementing uses? |
# | Aug 8th 2008, 16:10 | teknoid | CrazyTux[m]: because it never loaded the "main" model, you do need that if you decide to have $uses |
# | Aug 8th 2008, 16:10 | CrazyTux[m] | teknoid, ok now you have me confused |
# | Aug 8th 2008, 16:10 | teknoid | CrazyTux[m]: but once you load the Therapy model Condition will be loaded too |
# | Aug 8th 2008, 16:11 | teknoid | CrazyTux[m]: see the difference? |
# | Aug 8th 2008, 16:11 | CrazyTux[m] | teknoid, ok, so when $uses is defined, ALL models that want to be included, even the ones that NORMALLY are pre loaded, need to be defined within uses. |
# | Aug 8th 2008, 16:12 | aarongustafson | I just have a quick question: I am writing a little custom SQL for a model and (for some reason) my single quotes (around string values) are being converted to html entities and causing the query to fail. |
# | Aug 8th 2008, 16:12 | aarongustafson | is it because I'm setting the query as a string to a $sql variable and then passing that to $this->query()? |
# | Aug 8th 2008, 16:12 | teknoid | CrazyTux[m]: $uses() is meant for loading unrelated models (completely unrelated) if you have User->Comment->Rating->RatingSystem ... and you say $uses('User') ... all other models in the chain are loaded too |
# | Aug 8th 2008, 16:13 | CrazyTux[m] | teknoid, ok, so if I load a model, at its base, all associated models are loaded aswell |
# | Aug 8th 2008, 16:13 | teknoid | CrazyTux[m]: that is correct |