Log message #3881197

# At Username Text
# May 27th 2016, 06:30 unorthodox Line 25
# May 27th 2016, 06:30 unorthodox debug($customer->errors()); please
# May 27th 2016, 06:26 aro line 19 is where i do the patchEntity
# May 27th 2016, 06:26 aro https://gist.github.com/anonymous/478d9a36e54a0a52804fb73cc21941e1
# May 27th 2016, 06:25 aro sure
# May 27th 2016, 06:24 unorthodox Can you please gist your form and controller functionality?
# May 27th 2016, 06:24 unorthodox IDs from incoming array?
# May 27th 2016, 06:23 aro it is removing my ids from my incoming array
# May 27th 2016, 06:23 aro when i am trying to merge the items, its breaking
# May 27th 2016, 06:23 aro so
# May 27th 2016, 06:23 aro ok
# May 27th 2016, 06:21 unorthodox Mhm
# May 27th 2016, 06:21 unholyknight overthinking it, just dropped in a date()
# May 27th 2016, 06:20 unholyknight Know if seeds can be set to use the current datetime when run for the created and modified fields?
# May 27th 2016, 06:17 unorthodox Nice. I was about to check Chronos myself.
# May 27th 2016, 06:16 unholyknight Found the functionality in Chronos diffinhours, diffindays. Knew it was hiding in there somewhere.
# May 27th 2016, 06:13 unholyknight Does Cake\I18n\Time support date differences? Specifically I need the number of days between two dates and the number of minutes.
# May 27th 2016, 06:04 unorthodox Ofc aro
# May 27th 2016, 05:55 aro they do not belong to a hasMany or anything
# May 27th 2016, 05:55 aro is it possible to save multiple records with one form?
# May 27th 2016, 05:40 LckyBy517 its not coding related either XD just networking haha
# May 27th 2016, 05:40 LckyBy517 i'm having a terrible brain fart tonight and cannot think of why this is a problem....
# May 27th 2016, 05:26 unorthodox Morning everyone.
# May 27th 2016, 05:03 lowcaltoast slackebot: Set the content disposition and send it across as a response
# May 27th 2016, 05:02 mandeepkhaleriya How i use directly?
# May 27th 2016, 05:01 voycey you can just link directly to the file?
# May 27th 2016, 05:01 voycey why are you serving files that are in your webroot directory through response?
# May 27th 2016, 04:59 voycey some of us arent using slack and it looks crap
# May 27th 2016, 04:59 voycey use gist
# May 27th 2016, 04:59 voycey dont paste code directly
# May 27th 2016, 04:59 slackebot <?= $this->Html->link(__('Download'), ['action' => 'download', $file->id]) ?> but when i download that file it does not show any contain in downloaded file?what is main issue?
# May 27th 2016, 04:59 mandeepkhaleriya @ voycey i have also proble con you tell me here? In my Controller public function download($id = null) { $this->response->download(WWW_ROOT .'/uploads/files/'.DS.$id); //$this->response->download(WWW_ROOT."uploads".DS."files".DS.$id); $this->response->type = 'file'; return $this->response ; } And in my template .ctp file looks like as
# May 27th 2016, 04:54 voycey store the map location as text
# May 27th 2016, 04:54 mandeepkhaleriya @ voycey what means of text here ?can you tell me?
# May 27th 2016, 04:46 voycey text?
# May 27th 2016, 04:42 mandeepkhaleriya hello dears how i store google map location in my db in cakephp 3.2?can anyone help me?
# May 27th 2016, 04:02 voycey daun: you can just use saveAll for it
# May 27th 2016, 03:30 justinatack New Relic is my Hero! hahah
# May 27th 2016, 03:20 daun voycey, i tried to use saveassociated: https://gist.github.com/anonymous/a3f87cb27a0a22d736e55d0b37324603 but how can i identify the book id?
# May 27th 2016, 03:11 voycey As long as Loan and Book are associated then you can do that :)
# May 27th 2016, 03:11 voycey $this->Loan->Book->save