Log message #1031750

# At Username Text
# Sep 11th 2009, 09:52 markstory crayfishuk: is it converting your redirects into requestaction?
# Sep 11th 2009, 09:51 crayfishuk I think I've found a bug in controller.php.... To do with beforeRedirect and RequestHandlerComponent... it's taken me all day - and I'm convinced it's a bug...
# Sep 11th 2009, 09:51 jessica-m okay so put the bindmodel after unbindmodel?
# Sep 11th 2009, 09:51 markstory they will reset eachother as well.
# Sep 11th 2009, 09:51 TehTreag markstory: I though un/bindModel were reset after find?
# Sep 11th 2009, 09:50 markstory I think that should work.
# Sep 11th 2009, 09:50 markstory sorry I got confused there for a second.
# 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);