Log message #4121676

# At Username Text
# Mar 4th 2018, 04:07 savant nice
# Mar 4th 2018, 04:06 neothermic my situation has improved, I have chocolate and a drink
# Mar 4th 2018, 04:01 savant 16km/h
# Mar 4th 2018, 03:59 neothermic it's 7c outside for me right now, but also 8m/s winds
# Mar 4th 2018, 03:58 savant and im getting wings tomorrow anyhow
# Mar 4th 2018, 03:58 savant its very windy
# Mar 4th 2018, 03:58 neothermic that's warm
# Mar 4th 2018, 03:58 savant its 5 degrees celsius outside
# Mar 4th 2018, 03:57 savant ive been telling myself that all night
# Mar 4th 2018, 03:57 neothermic ... how fast are the winds and how good are the wings? :)
# Mar 4th 2018, 03:57 savant yeah there is a _really_ good wings place around the corner
# Mar 4th 2018, 03:57 neothermic thought you were implying it was too windy to fly
# Mar 4th 2018, 03:57 neothermic oh, food
# Mar 4th 2018, 03:57 neothermic get wings?
# Mar 4th 2018, 03:57 savant im only here because its too windy to go outside and get wings
# Mar 4th 2018, 03:56 savant take care of yourself, working nights is bad :slightly_smiling_face:
# Mar 4th 2018, 03:56 savant night meowls
# Mar 4th 2018, 03:56 neothermic these hours are paid, even if they're obscure hours :P
# Mar 4th 2018, 03:56 neothermic I should, but I'm a night owl, and I've got a feature to finish before monday
# Mar 4th 2018, 03:55 savant at 4am, you should consider sleeping
# Mar 4th 2018, 03:55 savant haha
# Mar 4th 2018, 03:55 neothermic it's 4am, I think I have an excuse ;)
# Mar 4th 2018, 03:54 neothermic me, trying to be smarter than the framework
# Mar 4th 2018, 03:54 savant what was the issue?
# Mar 4th 2018, 03:54 neothermic hah, solved it
# Mar 4th 2018, 03:42 neothermic oh, wait, hmm
# Mar 4th 2018, 03:41 savant the generated form element is fine
# Mar 4th 2018, 03:41 savant ;)
# Mar 4th 2018, 03:41 savant okay then I cant really help
# Mar 4th 2018, 03:41 neothermic not really, they're a bit complex. (yay for JS-generated form elements) :P
# Mar 4th 2018, 03:40 savant can you show the form and the code that you are calling to save it?
# Mar 4th 2018, 03:39 neothermic So, calling Consent->saveAssociated on this data: ```array('Consent' => array( 'id' => '8' ),'Topic' => array((int) 1 => '1',(int) 2 => '2'))``` Doesn't seem to write data to the consents_topics table, despite the two models having a HABTM relationship defined. Am I missing something? :|
# Mar 4th 2018, 03:34 savant mrr mrr
# Mar 4th 2018, 03:33 neothermic mrr, HABTM data.. mrr
# Mar 4th 2018, 03:13 mikesmoniker Cheers! Good night.
# Mar 4th 2018, 03:12 savant cool beans :slightly_smiling_face:
# Mar 4th 2018, 03:12 mikesmoniker Calling toArray() instead of execute()->fetchAll() gets me what I want though.
# Mar 4th 2018, 03:09 mikesmoniker Well actually I guess it’s not quite working.. the query results aren’t keyed by my select() keys, it’s just a numeric array. But it’s progress.
# Mar 4th 2018, 03:08 mikesmoniker Thank you.
# Mar 4th 2018, 03:08 savant thanks :slightly_smiling_face:
# Mar 4th 2018, 03:07 mikesmoniker Sure. It might take me a bit to figure out a small reproducible example, but I’ll see what I can do.