# |
Mar 15th 2018, 19:21 |
inoas |
@dereuromark wouldn't $query->whereInList('id', [], ['allowEmpty' => false]); generate something similar to SELECT * FROM order WHERE id IN (); |
# |
Mar 15th 2018, 19:09 |
conehead |
I will check. It was all auto generated. So I thought it should work this way. Will add the 's' everywhere |
# |
Mar 15th 2018, 19:08 |
conehead |
you mean the 's' |
# |
Mar 15th 2018, 19:07 |
dereuromark |
you dont see my point? |
# |
Mar 15th 2018, 19:06 |
conehead |
https://pastebin.com/CejCBhLp |
# |
Mar 15th 2018, 19:05 |
dereuromark |
IngridientsRecipe => IngridientsRecipes ? |
# |
Mar 15th 2018, 19:03 |
conehead |
Has anything changed with 'through'? I set it up exactly like in the cookbook (https://book.cakephp.org/3.0/en/orm/associations.html#using-the-through-option), but when I try to open the edit page, it says: `Recipes is not associated with IngridientsRecipe` |
# |
Mar 15th 2018, 18:42 |
birdy247 |
The file does exist, but its sym linked |
# |
Mar 15th 2018, 18:41 |
birdy247 |
SSLCertificateFile: file '/etc/letsencrypt/live/mysite.xo.uk/cert.pem' does not exist or is empty |
# |
Mar 15th 2018, 18:41 |
birdy247 |
does this mean restarting apache will also fail? |
# |
Mar 15th 2018, 18:41 |
birdy247 |
If I do apache2ctl -t and it fails |
# |
Mar 15th 2018, 18:39 |
admad |
this is how aliasing if done for all classes that support it |
# |
Mar 15th 2018, 18:37 |
alysson-azevedo |
I see. Thanks |
# |
Mar 15th 2018, 18:32 |
admad |
`['Clients' => ['className' => 'RxHooks.Sl20Clients']` |
# |
Mar 15th 2018, 18:04 |
alysson-azevedo |
is it possible to create aliases to shell tasks? i'm trying `public $tasks = ['RxHooks.Sl20Clients' => 'Clients']` but it doesn't work |
# |
Mar 15th 2018, 17:43 |
devito |
$ bin/cake migrations migrate -c my_custom_connection ``` |
# |
Mar 15th 2018, 17:43 |
devito |
got it ```` |
# |
Mar 15th 2018, 17:34 |
devito |
When creating a Migration is it possable to specify the data connection to use?> |
# |
Mar 15th 2018, 16:50 |
megan |
Any last CFP /talk submissions to CakeFest 2018? :) Hurry! CFP closes soon! https://twitter.com/cakephp/status/974195053433425921 |
# |
Mar 15th 2018, 16:38 |
loginews |
thanks it works |
# |
Mar 15th 2018, 16:26 |
loginews |
thanks, I am reading that. |
# |
Mar 15th 2018, 16:24 |
admad |
@loginews https://book.cakephp.org/3.0/en/orm/retrieving-data-and-resultsets.html#finding-key-value-pairs |
# |
Mar 15th 2018, 16:22 |
loginews |
can anyone help ? |
# |
Mar 15th 2018, 16:22 |
loginews |
File uploaded https://cakesf.slack.com/files/U435V89H8/F9QMEQM5K/obtaining_array_from_table.txt / https://slack-files.com/T053DPNCM-F9QMEQM5K-219312bbe0 - I wish to get the options of a Select input from a table. I tried the above code, but $data does not contain my field values. |
# |
Mar 15th 2018, 15:57 |
patsuckow |
Hello. Can someone advise a more correct decision? https://stackoverflow.com/questions/49303965/is-there-a-method-for-getting-the-timezone-type-cakephp-3-x |
# |
Mar 15th 2018, 15:53 |
admad |
i happy will all the changes you have suggested in the roadmap. It's just that a huge diff makes it quite tedious to review and increases the chances of overlooking something |
# |
Mar 15th 2018, 15:04 |
neon1024 |
If you need me to explain any of the diff, let met know :slightly_smiling_face: |
# |
Mar 15th 2018, 15:03 |
neon1024 |
As it’s being targeted at a major release, I didn’t think about backwards compatibility |
# |
Mar 15th 2018, 15:03 |
neon1024 |
If not, let me know and I’ll just keep it in a fork |
# |
Mar 15th 2018, 15:03 |
neon1024 |
I hope that some of the code is at least a little useful to the project |
# |
Mar 15th 2018, 15:02 |
neon1024 |
@admad Apologies for the bad PR. I didn’t keep my mind in scope of a single task. I’m too used to just working though lots of amends in one block. |
# |
Mar 15th 2018, 15:01 |
devito |
hmmmm |
# |
Mar 15th 2018, 14:58 |
neon1024 |
Perhaps a DispatchFilter in Cake 2? |
# |
Mar 15th 2018, 14:55 |
devito |
what about 2? |
# |
Mar 15th 2018, 14:55 |
devito |
mm, middleware is a good spot for it in 3 |
# |
Mar 15th 2018, 14:54 |
neon1024 |
If I was in Cake 3, I’d use Middleware myself |
# |
Mar 15th 2018, 14:52 |
devito |
Hello all, where is the best place to set no cache and secure tls headers for a cake 2 / cake 3 app? App controller? |
# |
Mar 15th 2018, 14:51 |
neon1024 |
Have a look in DebugKit! |
# |
Mar 15th 2018, 14:45 |
johnwayne |
Left or Inner ? |
# |
Mar 15th 2018, 14:45 |
johnwayne |
What is default join type if its not defined in Model |
# |
Mar 15th 2018, 14:20 |
dereuromark |
Yesterday I was finally able to finish the blog post about upcoming 3.6 release: https://www.dereuromark.de/2018/03/14/cakephp-3-6-is-coming/ |