Log message #112318

# At Username Text
# Aug 8th 2008, 16:22 teknoid CrazyTux[m]: being very selective in what models you get, and ability to pass conditions to related models
# Aug 8th 2008, 16:22 CrazyTux[m] teknoid, if I can do it with just find() ?
# Aug 8th 2008, 16:22 CrazyTux[m] teknoid, what would the purpose be of containable, exactly
# Aug 8th 2008, 16:20 vudew why would $this->data hit Auth empty?
# Aug 8th 2008, 16:19 teknoid Azhi_Dahaka_: pr($this->data) and see
# Aug 8th 2008, 16:19 Azhi_Dahaka_ so, i guess that i just access the term via $this->data['LOL']
# Aug 8th 2008, 16:19 teknoid Azhi_Dahaka_: then pass a 'label' key
# Aug 8th 2008, 16:19 unigue_ "label" => false
# Aug 8th 2008, 16:18 Azhi_Dahaka_ the randomfield is called LOL, so I'm getting a LOL label... i want to wipe that label
# Aug 8th 2008, 16:18 teknoid Azhi_Dahaka_: what's a LOL label?
# Aug 8th 2008, 16:18 M4ngoB00M newbie here - getting started with bake. read the docs and searched for this but cant find a FAST way to bake everything for my 60 table DB ... anyone?
# Aug 8th 2008, 16:17 aarongustafson cough::
# Aug 8th 2008, 16:17 teknoid CrazyTux[m]: i don't think you are paying attention to the manual ;)
# Aug 8th 2008, 16:17 Azhi_Dahaka_ tried that... but now i'm getting a LOL label... :S
# Aug 8th 2008, 16:17 teknoid CrazyTux[m]: you can, you should specify the fields key like you would in a regular find() call...
# Aug 8th 2008, 16:17 vudew i found in auth.php where passwords should be hashed and $this->Data is coming back empty
# Aug 8th 2008, 16:17 teknoid Azhi_Dahaka_: $form->input('ModelName.somerandomfield');
# Aug 8th 2008, 16:17 CrazyTux[m] teknoid, so I can't contain down to fields, only to model level?
# Aug 8th 2008, 16:16 Azhi_Dahaka_ i know the query logic... but i don't know how to put an input box untied from a field
# Aug 8th 2008, 16:16 M4ngoB00M hi
# Aug 8th 2008, 16:16 teknoid CrazyTux[m]: where in the book does it say to contain a model field?
# Aug 8th 2008, 16:15 teknoid Azhi_Dahaka_: build an 'or' array see manual under "complex find conditions"
# Aug 8th 2008, 16:15 Veretax evening all
# Aug 8th 2008, 16:15 CrazyTux[m] teknoid, ... can you gvie me a quick example, I followed the online book.
# Aug 8th 2008, 16:15 Azhi_Dahaka_ ok... i have books... i want to search the term on the titles and abstracts
# Aug 8th 2008, 16:14 teknoid CrazyTux[m]: because you are using containable incorrectly :)
# Aug 8th 2008, 16:14 CrazyTux[m] say*
# Aug 8th 2008, 16:14 teknoid Azhi_Dahaka_: give me an example...
# Aug 8th 2008, 16:14 CrazyTux[m] teknoid, Model "Therapy" is not associated with model "id" <-- I've asked about this earier, but now, one more time, whats it trying to sya
# Aug 8th 2008, 16:14 teknoid CrazyTux[m]: that is also correct
# Aug 8th 2008, 16:13 Azhi_Dahaka_ S
# Aug 8th 2008, 16:13 Azhi_Dahaka_ hmm... how can i search for a term in two fields of a model? i need to tie the input to a fieldname...
# Aug 8th 2008, 16:13 CrazyTux[m] teknoid, however, if I define $uses, and do not load the model of the controller itself, I will not be able to access the controllers model
# Aug 8th 2008, 16:13 teknoid CrazyTux[m]: that is correct
# 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: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: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 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: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:11 teknoid CrazyTux[m]: see the difference?
# Aug 8th 2008, 16:10 teknoid CrazyTux[m]: but once you load the Therapy model Condition will be loaded too