Log message #3150627

# At Username Text
# Jan 30th 2014, 21:27 todds A Customer hasOne (or Many) Credit Cards. A Credit Card belongsTo Customer.
# Jan 30th 2014, 21:26 chris______ i see
# Jan 30th 2014, 21:26 todds both
# Jan 30th 2014, 21:26 chris______ what's the difference in using $hasOne on a Model and using $belongsTo in the related model, or should I use them in both models?
# Jan 30th 2014, 21:23 todds Nick____ I'm curious to see if this works in that situation: http://freenode.net/faq.shtml#nickisgone
# Jan 30th 2014, 21:22 S good morning :)
# Jan 30th 2014, 21:16 Fatalnix chris______ has you beat
# Jan 30th 2014, 21:16 Nick____ ha yes :( dodgy internet here!
# Jan 30th 2014, 21:16 Fatalnix Nick____: something tells me you have had a lot of disconnects :D
# Jan 30th 2014, 21:15 Fatalnix Nick____: ?
# Jan 30th 2014, 21:14 Nick____ hmm scratches head
# Jan 30th 2014, 21:14 Fatalnix thing*
# Jan 30th 2014, 21:14 Fatalnix yeah that'd be a weird think for cake to override
# Jan 30th 2014, 21:13 Fatalnix heh
# Jan 30th 2014, 21:13 BackEndCoder its a php thing not a cake thing
# Jan 30th 2014, 21:13 Fatalnix I thought so
# Jan 30th 2014, 21:13 BackEndCoder yes
# Jan 30th 2014, 21:13 Fatalnix does PHP not have a sort function?
# Jan 30th 2014, 21:12 BackEndCoder array sort
# Jan 30th 2014, 21:12 BackEndCoder randomly guessing is what i'm really good at
# Jan 30th 2014, 21:12 Nick____ just got to figure out how to reorder child items now :(
# Jan 30th 2014, 21:10 Nick____ ha its ok todds, I just randomly guessed and it worked :)
# Jan 30th 2014, 21:09 todds (sorry again Nick____)
# Jan 30th 2014, 21:08 chris______ lawl "bat mobile" xD
# Jan 30th 2014, 21:08 todds To the Bat Mobile!
# Jan 30th 2014, 21:07 BackEndCoder brb, my bat phone is ringing
# Jan 30th 2014, 21:07 todds derp, ignore me. I'm looking at form() not link().
# Jan 30th 2014, 21:07 todds haha
# Jan 30th 2014, 21:07 Fatalnix doesn't sound very argumentative
# Jan 30th 2014, 21:07 BackEndCoder first arg in a from create is a string afaik
# Jan 30th 2014, 21:07 Fatalnix one arument
# Jan 30th 2014, 21:06 todds backendcoder: right, but he's passing two. :)
# Jan 30th 2014, 21:06 BackEndCoder todds, yeah one arument would be an array
# Jan 30th 2014, 21:05 BackEndCoder Grafikart, its not all made yet, maybe a month
# Jan 30th 2014, 21:05 todds Nick____: strange, the documentation says it only accepts two arguments: http://book.cakephp.org/2.0/en/core-libraries/helpers/form.html#creating-form-elements
# Jan 30th 2014, 21:03 Nick____ it seems to work ok, randomly
# Jan 30th 2014, 21:03 todds Nick____: Nope, I -think- they belong in the first array with the other optionsâ?¦.but if it's working then Imma hafta have a look at the documentation
# Jan 30th 2014, 21:01 Nick____ well it seems to work anyway
# Jan 30th 2014, 21:01 Nick____ https://gist.github.com/anonymous/2a02b3d5cc6e75269559 like this i think?
# Jan 30th 2014, 21:00 todds Nick____ (sorry): 'pageurl' => $menucat['Page']['url'], 'attribute' => 'value', etc...
# Jan 30th 2014, 21:00 chris______ ok i see it now, thanks