Log message #4223492

# At Username Text
# Jan 23rd 2020, 10:45 mark.mikkelson anybody able to shed some light on disabling CSRF, it's been driving me nuts for a day now. I've got no CSRF mentioned in my routes.php nor in the applicaiton.php , yet I still get Missing CSRF token cookie when posting data in?
# Jan 23rd 2020, 10:44 val thanks
# Jan 23rd 2020, 10:43 ndm @val I tend to forget to tag people
# Jan 23rd 2020, 10:42 ndm `$joinTable = $PostsTable->Tags->junction()`
# Jan 23rd 2020, 10:33 val I don't use 'through'
# Jan 23rd 2020, 10:32 neon1024 I’d escalate it to @admad ;)
# Jan 23rd 2020, 10:31 neon1024 You could rely on convention to find it perhaps :thinking_face:
# Jan 23rd 2020, 10:31 neon1024 If you’re using the automatic join table, I’m not too sure, sorry
# Jan 23rd 2020, 10:31 neon1024 As it should be the `through` option if you’re using that
# Jan 23rd 2020, 10:31 neon1024 As it’ll return a class instance from the collection I reckon
# Jan 23rd 2020, 10:30 neon1024 The association class returned in the collection should have that
# Jan 23rd 2020, 10:30 val `$this->associations()` do not have join model. F.ex. Post HABTM Tag. What I need is to get posts_tags table and its alias.
# Jan 23rd 2020, 10:30 neon1024 So perhaps you can filter by `belongsToMany`
# Jan 23rd 2020, 10:30 neon1024 Although this is in the core `foreach ($table->associations()->type('BelongsTo') as $assoc) {`
# Jan 23rd 2020, 10:29 conehead @dereuromark sweet. On holiday?
# Jan 23rd 2020, 10:27 neon1024 I *think* it’s `foreach ($this->associations() as $association => $tableName)`
# Jan 23rd 2020, 10:26 neon1024 I tend to loop the associations, using `$this->associations()`
# Jan 23rd 2020, 10:25 val What is the proper way to get join model alias and table name in HABTM in 3.x?
# Jan 23rd 2020, 10:19 dereuromark Releasing from hawaii^^
# Jan 23rd 2020, 10:18 dereuromark I fixed it. 3.0 should now work
# Jan 23rd 2020, 10:10 rudy1976s I am bit confused: so what version should I download with composer?
# Jan 23rd 2020, 10:04 dereuromark Autsch.. i should have used my work app for releasing.
# Jan 23rd 2020, 10:03 admad @dereuromark what he means is why is the new major 1.0 instead of 3.0, since the previous is 2.0
# Jan 23rd 2020, 09:59 dereuromark Jep, and minimum stability beta, then it works. See sandbox cake4 branch etc
# Jan 23rd 2020, 09:50 dereuromark What did i ... up?^^
# Jan 23rd 2020, 09:02 gianmarxgagliardi morning ALL
# Jan 23rd 2020, 08:59 challgren I’d probably use dev-cake4 until the version could be fixed to be 3.0.0-beta
# Jan 23rd 2020, 08:58 challgren But that seems like a version issue that @dereuromark might need to fix since 2.7.1 is out that supports cake3.5+
# Jan 23rd 2020, 08:57 rudy1976s @challgren thank you
# Jan 23rd 2020, 08:57 challgren https://github.com/dereuromark/CakePHP-DatabaseLog/releases/tag/1.0.0-beta
# Jan 23rd 2020, 08:57 challgren or dev-cake4
# Jan 23rd 2020, 08:57 challgren @rudy1976s 1.0.0-beta
# Jan 23rd 2020, 08:42 rudy1976s I am working for the first time with cake 4: I was trying to install dereuromark databaselog but I was unable to do it because of composer contraints: what is the correct version ?
# Jan 23rd 2020, 08:41 rudy1976s morning all
# Jan 23rd 2020, 04:31 turkles scratch that, I was doing the right thing it seems by ->get('role_id)
# Jan 23rd 2020, 04:22 turkles If I've grabbed my user, contain roles, how do I add a role to that so I can save the user and it updates the users_roles list?
# Jan 23rd 2020, 02:09 waspinator can you use the orm to look for rows filtered on values in a json field?
# Jan 23rd 2020, 01:53 wizardfix 123:+1::skin-tone-3:
# Jan 23rd 2020, 01:41 challgren @dereuromark to the transport?
# Jan 23rd 2020, 01:39 dereuromark I found out the same. Could also have been a dto^^
# Jan 23rd 2020, 00:25 luizcmarin @wizardfix https://api.cakephp.org/3.8/class-Cake.Validation.Validator.html#_sameAs ?