Log message #4180763

# At Username Text
# Mar 25th 2019, 20:48 marek.sebera @ricksaccous now I collect existing ids iterating association field, add the id of new entity i've created before, patchEntity and save, but I felt there must be a better way
# Mar 25th 2019, 20:47 ricksaccous @marek.sebera, depends on your use case, patchEntity in a loop doesn't sound too crazy as a one-off script
# Mar 25th 2019, 20:38 marek.sebera maybe adding new record into BTM join-table, but that might break some in-cakephp caching
# Mar 25th 2019, 20:37 marek.sebera What is the best way to add BTM connection to existing ones? Because using patchEntity with _ids retrieved before + the new entity id, seems unpractical
# Mar 25th 2019, 20:27 challgren @feliruc https://github.com/UseMuffin/Footprint
# Mar 25th 2019, 20:22 feLiruc How can I get the user logged information in the entity?
# Mar 25th 2019, 20:20 admad there is be first alpha next month
# Mar 25th 2019, 20:20 admad https://github.com/cakephp/cakephp/wiki/4.0-Roadmap
# Mar 25th 2019, 20:05 ricksaccous '(mySqlEquation) > 3'
# Mar 25th 2019, 20:05 ricksaccous @devito I think you just have to have the whole thing in one string if you want to do that
# Mar 25th 2019, 20:01 vjnvisakh when is it launching
# Mar 25th 2019, 20:00 vjnvisakh what is new in cakephp 4
# Mar 25th 2019, 19:58 devito is that valid?
# Mar 25th 2019, 19:58 devito ive got some crazy query that i want to use as a where condition. does a bunch of mat can I have where=>[“(mySqlEquation) >“=>3]
# Mar 25th 2019, 19:56 vjnvisakh Hey
# Mar 25th 2019, 19:40 daniel.upshaw I might have found a way to do it.... Make templates with only `<?= $html ?>` and `<?= $text ?>` and just send it the entire contents
# Mar 25th 2019, 19:33 daniel.upshaw Although, that was in 2015
# Mar 25th 2019, 19:33 daniel.upshaw Without using .ctp templates
# Mar 25th 2019, 19:32 daniel.upshaw Looks like there's no straightforward way to set the Plain Text version and HTML version manually
# Mar 25th 2019, 19:32 daniel.upshaw https://stackoverflow.com/questions/32860252/cakephp-3-x-can-we-use-emailformat-both-without-using-template
# Mar 25th 2019, 19:31 ricksaccous yeah beforeMarshall
# Mar 25th 2019, 19:30 daniel.upshaw Here is the floatval() docs: https://www.php.net/manual/en/function.floatval.php
# Mar 25th 2019, 19:30 daniel.upshaw What's the mask plugin?
# Mar 25th 2019, 19:30 daniel.upshaw Starting a thread...
# Mar 25th 2019, 19:29 daniel.upshaw Is there any way to format before it goes to patchEntity?
# Mar 25th 2019, 19:26 ricksaccous if data['fieldname'] is set modify it as you wish
# Mar 25th 2019, 19:26 ricksaccous on the model
# Mar 25th 2019, 19:26 ricksaccous you can do it beforeMarshall
# Mar 25th 2019, 19:25 feLiruc daniel, I need to implement this on the controller or in the entity? any link to help me
# Mar 25th 2019, 19:25 daniel.upshaw But one or the other is simple by passing into `send($content)`.... Just not both
# Mar 25th 2019, 19:25 daniel.upshaw It looks like there's no straightforward way to send both HTML and Plaintext emails in Cake without using templates
# Mar 25th 2019, 19:24 daniel.upshaw Maybe floatval()? Or a preg_replace to reformat it
# Mar 25th 2019, 19:24 daniel.upshaw Can you do a number_format on it?
# Mar 25th 2019, 19:17 feLiruc Hello guys... the mask plugin I'm using is sending R$ 450.000,00 to the patchEntity but this field is a double field... What can I do in this case?
# Mar 25th 2019, 18:35 ricksaccous np
# Mar 25th 2019, 18:35 devito thanks man
# Mar 25th 2019, 18:35 devito word up
# Mar 25th 2019, 18:34 ricksaccous https://book.cakephp.org/3.0/en/orm/query-builder.html#advanced-conditions
# Mar 25th 2019, 18:34 ricksaccous let me link you
# Mar 25th 2019, 18:34 ricksaccous yeah it's in the book, and what you had looks right
# Mar 25th 2019, 18:33 devito but not finding anythign on this in the book…