Log message #4171865

# At Username Text
# Dec 31st 2018, 10:26 bobby_1120 3.5.11
# Dec 31st 2018, 10:25 barlas Nevermind, documentation wasn't correct.
# Dec 31st 2018, 10:25 challgren What version of cake?
# Dec 31st 2018, 10:25 challgren $this->Users->exists([‘is_admin’ => 1])
# Dec 31st 2018, 10:25 bobby_1120 dont work
# Dec 31st 2018, 10:24 challgren $this->Users->exist([‘is_admin’ => 1])
# Dec 31st 2018, 10:24 bobby_1120 $this->Users->exists(['isAdmin' => 1])
# Dec 31st 2018, 10:24 challgren Your array is wrong bobby
# Dec 31st 2018, 10:24 bobby_1120 $this->Users->exists(['isAdmin'] => 1) return false
# Dec 31st 2018, 10:23 bobby_1120 i have problem with Table::exists
# Dec 31st 2018, 10:22 bobby_1120 hi alll
# Dec 31st 2018, 10:21 challgren @nickbusey just a FYI underscore is not allowed in http headers so you’ll also need to add `'name' => 'api-key'`
# Dec 31st 2018, 10:17 barlas Can I ask Phinx queries here or is that out of scope?
# Dec 31st 2018, 06:48 challgren @nickbusey in the `config/users.php`
# Dec 31st 2018, 05:31 NickBusey I tried setting `$this->Auth->config('authenticate', ['CakeDC/Users.ApiKey' => ['type' => 'header']]);` in AppController initialize but that returns `Authentication adapter "CakeDC/Users.ApiKey" was not found.` even though I am using apikey
# Dec 31st 2018, 05:31 nayakvradhit While installing cakephp 2.10 I am getting the error please change the value of 'security.salt' in my config/core.php to a salt value specific to your application.(CORE/Cake/Utility/Debugger.php) Similarly for 'Security.cipherseed'
# Dec 31st 2018, 05:17 NickBusey err cakedc/auth, you get the idea.
# Dec 31st 2018, 05:13 NickBusey For foc/auth, here: https://github.com/CakeDC/auth/blob/master/Docs/Documentation/ApiKeyAuthenticate.md#setup it says you can override the default options for ApiKeyAuthenticate by setting a key on $config, where would that be done?
# Dec 31st 2018, 03:12 waspinator how would I get the $io thing from Cake\Console\ConsoleIo'
# Dec 31st 2018, 00:17 rightscoreanalysis i feel that
# Dec 31st 2018, 00:16 sdevore I do like using the matching approach makes the intent clearer to my old brain when I come back
# Dec 31st 2018, 00:16 rightscoreanalysis should have been start_date <= :slightly_smiling_face:
# Dec 31st 2018, 00:15 sdevore PEBKAC issues are tough to debug
# Dec 31st 2018, 00:15 rightscoreanalysis start date >= $from
# Dec 31st 2018, 00:15 rightscoreanalysis my comparison operator was the wrong way around
# Dec 31st 2018, 00:15 rightscoreanalysis it's ok - it was error in my logic
# Dec 31st 2018, 00:13 sdevore This is how I do it
# Dec 31st 2018, 00:13 sdevore https://book.cakephp.org/3.0/en/orm/query-builder.html#filtering-by-associated-data
# Dec 31st 2018, 00:04 rightscoreanalysis I tried left and inner joins
# Dec 31st 2018, 00:04 rightscoreanalysis as if the join isn't filtering
# Dec 31st 2018, 00:04 rightscoreanalysis the count on the result is always the total number of all Poperties
# Dec 31st 2018, 00:03 rightscoreanalysis what am I doing wrong
# Dec 31st 2018, 00:03 rightscoreanalysis even when I use join conditions that do not match I am getting results when I should be getting 0
# Dec 31st 2018, 00:03 rightscoreanalysis i have Properties model and PropertyPeriods, I am queryinging Properties and joining on PropertyPeriods
# Dec 30th 2018, 21:05 sdevore I would rename the old ones and rebake and then merge them (maybe by hand). But to be honest mostly I just manually update them, but I’ve been doing this stuff for a really long time on and off…
# Dec 30th 2018, 20:17 tomas.saghy I see I need to check 4.x branch :slightly_smiling_face:
# Dec 30th 2018, 20:16 tomas.saghy thanks for the example for `allowEmptyString`
# Dec 30th 2018, 19:24 dereuromark check the wiki page
# Dec 30th 2018, 19:24 dereuromark not really
# Dec 30th 2018, 19:21 k4t will we get any big change in ORM in Cake 4.0?
# Dec 30th 2018, 19:07 k4t fair enough