Log message #112240

# At Username Text
# 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 :)
# Aug 8th 2008, 15:51 rose anyways it was much helpful
# Aug 8th 2008, 15:51 rose yeah thts true!! but i m looking for the best way not the easiest!! i dont fear challenegs!!
# Aug 8th 2008, 15:50 teknoid object comment i should say
# Aug 8th 2008, 15:50 teknoid rose: the easiest to make a separate table for each object :)
# Aug 8th 2008, 15:50 rose so yaa there is a way, but not easy!
# Aug 8th 2008, 15:50 teknoid rose: not sure what you mean, if your db supports compound key restraints, then it should be ok (cake does not by the way)
# Aug 8th 2008, 15:50 rose welll i guess i can set up triggers...
# Aug 8th 2008, 15:49 rose would not*** sorry!
# Aug 8th 2008, 15:48 rose hmm... but it both case, it would allow me to set up relations so that if object is deleted, comments should be deleted too (not in cake but in database)
# Aug 8th 2008, 15:47 teknoid rose: or object_type, sure
# Aug 8th 2008, 15:47 rose how can i without UUID??? with object_name field???
# Aug 8th 2008, 15:47 teknoid rose: you can even without uuid, but for this case you could certainly use uuid just as well
# Aug 8th 2008, 15:46 rose UUID for objects so i can live with only one comments table
# Aug 8th 2008, 15:46 teknoid rose: in terms of what?
# Aug 8th 2008, 15:46 teknoid rose: of course you could also make separate tables for user_comments, image_comments, etc.
# Aug 8th 2008, 15:45 rose whts your thoughts on UUID ??
# Aug 8th 2008, 15:44 teknoid lqdice____: np ;)
# Aug 8th 2008, 15:44 rose hmm
# Aug 8th 2008, 15:44 lqdice____ thanks tek.
# Aug 8th 2008, 15:44 lqdice____ oh she is so beautiful now :)
# Aug 8th 2008, 15:44 teknoid rose: or use the other option, depends on your app
# Aug 8th 2008, 15:44 rose if possible at all!