Log message #1031743

# At Username Text
# Sep 11th 2009, 09:50 markstory and leave the order the same, as you had it.
# Sep 11th 2009, 09:50 markstory so it doesn't reset the associations you just bound.
# Sep 11th 2009, 09:50 markstory so in unbindModel set second param = false
# Sep 11th 2009, 09:50 jessica-m thats supposed to be note.id = comment.note_id
# Sep 11th 2009, 09:50 jessica-m when i put the bindmodel first, it changes the query to this: LEFT JOIN `notes` AS `Note` ON ( `Note`.`id` = `Comment`.`id` )
# Sep 11th 2009, 09:50 FunkyWeasel Good afternoon.
# Sep 11th 2009, 09:49 jessica-m ok
# Sep 11th 2009, 09:49 markstory jessica-m: since they are both temporary, one will reset the other.
# Sep 11th 2009, 09:48 zboarapuisor i have a problem with a bind relationship ,"$this->User->bindModel(array('hasMany'=>array('Photo'=>array('conditions'=>array('Photo.type'=>'a')))));",
# Sep 11th 2009, 09:48 markstory then the unbindModel()
# Sep 11th 2009, 09:48 markstory but the bindModel() first.
# Sep 11th 2009, 09:48 markstory well you have two associations to Note.
# Sep 11th 2009, 09:47 jessica-m what do you mean type it in? where?
# Sep 11th 2009, 09:47 zboarapuisor hi
# Sep 11th 2009, 09:47 TehTreag ~tell hmv about bin
# Sep 11th 2009, 09:47 TehTreag ~tell hmv about pastebin
# Sep 11th 2009, 09:47 TehTreag hmv: Can you pastebin what you have?
# Sep 11th 2009, 09:47 markstory type it in.
# Sep 11th 2009, 09:46 jessica-m how do i do that?
# Sep 11th 2009, 09:46 jessica-m it is left joining notes twice
# Sep 11th 2009, 09:46 markstory use a different alias..
# Sep 11th 2009, 09:46 jessica-m how can i fix this?
# Sep 11th 2009, 09:46 jessica-m for some reason i am getting an error with a non unique alias
# Sep 11th 2009, 09:46 jessica-m http://bin.cakephp.org/view/494592345
# Sep 11th 2009, 09:42 hmv i ll bake the whole model again thanks for the response
# Sep 11th 2009, 09:41 hmv @markstory i hav used the same for hash('temp',null,true) and now i even tried as tehtreag said sha1($salt.$password) i got same results but still not able to figure it out
# Sep 11th 2009, 09:40 _chris_ cos i am returning a json but part of it needs to come from an element
# Sep 11th 2009, 09:39 _chris_ can i load up the contents of an element into a variable to return to an ajax call?
# Sep 11th 2009, 09:37 markstory and just think if you had baked a users/add method you would have never even had this problem :)
# Sep 11th 2009, 09:36 markstory hmv: so your passwords will never match.
# Sep 11th 2009, 09:36 markstory TehTreag: yeah I'm a buzzkill like that.
# Sep 11th 2009, 09:33 TehTreag|AFK markstory: You take all the fun out of reading the api.
# Sep 11th 2009, 09:33 markstory is the proper way for salty hashes
# Sep 11th 2009, 09:33 markstory hash('temp', null, true);
# Sep 11th 2009, 09:32 _patton hmv: function hash($string, $type = null, $salt = false) {
# Sep 11th 2009, 09:32 _patton hmv: if you are using Security::hash('temp') maybe you need to specify the salt. auth might be using that when it hashes the password you pass it, before it matches against what you have in the db
# Sep 11th 2009, 09:30 TehTreag|AFK __mork1: nanu-nanu
# Sep 11th 2009, 09:30 __mork1 bye folks. happy coding
# Sep 11th 2009, 09:30 TehTreag|AFK hmv: hmvrulz: _patton: http://irc.cakephp.org/logs/link/1031692#message1031702
# Sep 11th 2009, 09:30 KarlHungus ACTION sighs
# Sep 11th 2009, 09:30 _patton hmv: sorry, forget that last comment