Log message #112262

# At Username Text
# Aug 8th 2008, 16:07 CrazyTux[m] teknoid, all models within that, as in SOLEY that, and would ignore a HABTM realtionship, or ??
# Aug 8th 2008, 16:07 zmonteca teknoid: well, echo sprintf(), but i'm guessing that doesn't matter. i think i'm using the default ajax layout, but not sure.
# Aug 8th 2008, 16:07 teknoid CrazyTux[m]: $uses instantiates all the model objects
# Aug 8th 2008, 16:06 Symbi0nt on cake 1.2 in the index() how can I set conditions loke order by in the $this->paginate() function?
# Aug 8th 2008, 16:06 zmonteca teknoid: just echo
# Aug 8th 2008, 16:06 CrazyTux[m] teknoid, one more question, when I define $uses, does it overwrite, all automagic stuff, or does it just append these models need to have acesss.
# Aug 8th 2008, 16:05 teknoid zmonteca: how are you displaying the actions data in the view?
# Aug 8th 2008, 16:04 CrazyTux[m] teknoid, now, I get an error, Fatal error: Call to a member function contain() on a non-object, on line 8, shouldnt it already be included without me calling uses.
# Aug 8th 2008, 16:04 teknoid CrazyTux[m]: if you are in therapies Condition is accessed with $this->Therapy->Condition
# Aug 8th 2008, 16:04 CrazyTux[m] teknoid, controller method mainView()
# Aug 8th 2008, 16:04 CrazyTux[m] teknoid, http://pastebin.com/d1f8de6cf
# Aug 8th 2008, 16:03 CrazyTux[m] teknoid, therapy model: http://pastebin.com/d760d1eff, condition model: http://pastebin.com/d249f444c
# Aug 8th 2008, 16:02 zmonteca to append...my output is just generic cake sql log describe junk...nothing else.
# Aug 8th 2008, 16:02 CrazyTux[m] teknoid, one moment, pastbin.
# Aug 8th 2008, 16:02 zmonteca i'm using ajaxhelper and observeField on a select box. according to firebug the post looks ok and the url request look ok. however, the out put doesn't appear to be anything in my requested method. any ideas?
# Aug 8th 2008, 16:01 teknoid CrazyTux[m]: for example?
# Aug 8th 2008, 16:01 teknoid vudew: login() should handle all of that for you, i.e. compare the sent password with hashed password
# Aug 8th 2008, 16:01 CrazyTux[m] teknoid, however, I have a HABTM relationship setup?
# Aug 8th 2008, 16:01 CrazyTux[m] teknoid, why does it not include the models, when I don't use $uses
# Aug 8th 2008, 15:59 teknoid CrazyTux[m]: sure, or just index
# Aug 8th 2008, 15:59 unigue_ and google also but I asked for some quick pows
# Aug 8th 2008, 15:59 vudew but when i go to my login form and submit, password is coming through cleartext
# Aug 8th 2008, 15:59 vudew when i add the record to the db, password is getting automatically hashed
# Aug 8th 2008, 15:58 CrazyTux[m] teknoid, mainView() ?
# Aug 8th 2008, 15:58 teknoid vudew: what do you mean?
# Aug 8th 2008, 15:58 CrazyTux[m] teknoid, I'm back from lunch, so if I was to place, this controller method inside of therapies, or conditions controller, rather than the "MainController" which I have now removed, what would the appropiate method name be?
# Aug 8th 2008, 15:58 teknoid unigue_: the manual has pretty good basic info
# Aug 8th 2008, 15:58 vudew teknoid: but when i try to login its not auto hashing the password?
# Aug 8th 2008, 15:57 unigue_ ... auth, what all it does and how? some example page to for demonstration somewhere?
# Aug 8th 2008, 15:56 unigue_ I have never got the idea behind
# Aug 8th 2008, 15:54 vudew oh
# Aug 8th 2008, 15:54 teknoid vudew: sha1 + some key string
# Aug 8th 2008, 15:54 vudew its not md5 though is it?
# Aug 8th 2008, 15:54 vudew oh
# Aug 8th 2008, 15:54 teknoid vudew: that's why. auth will hash the passwords for you
# Aug 8th 2008, 15:53 unigue_ teknoid that's the path I have taken; "don't fear the tables"
# Aug 8th 2008, 15:53 vudew yeah
# Aug 8th 2008, 15:52 teknoid vudew: using auth?
# Aug 8th 2008, 15:52 vudew im submitting a form in cake and its automatically hashing passwords, does anyone knwo why this is happening?
# Aug 8th 2008, 15:52 teknoid rose: good to hear, but i don't really see anything wrong with having more tables... what happens if down the road you decide that image comments, unlike user comment need to have an extra field?
# Aug 8th 2008, 15:51 rose thanks :)