Log message #4125385

# At Username Text
# 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/
# Mar 15th 2018, 13:18 roel :slightly_smiling_face:
# Mar 15th 2018, 13:18 roel Thanks anyway :+1:
# Mar 15th 2018, 13:10 dereuromark The mocking part is outdated there :slightly_smiling_face:
# Mar 15th 2018, 13:10 alysson-azevedo that's what i'm doing hehe
# Mar 15th 2018, 13:10 roel Ok, I will try to do that :P
# Mar 15th 2018, 13:10 admad i ocassionally look here https://gist.github.com/loonies/1255249 when i need to check method sigs
# Mar 15th 2018, 13:09 admad @alysson-azevedo guess what, i learned unit testing just by reading core tests, never read phpunit's documentation :slightly_smiling_face:
# Mar 15th 2018, 13:06 dereuromark It is actually not - you just need to look how its already done in core or plugins and do the same, e.g. assertSame() calls etc. Super simple.
# Mar 15th 2018, 13:05 alysson-azevedo i tried to read PHPUnit documentation, but the learning curve is just too steep
# Mar 15th 2018, 13:03 dereuromark not to speak of the core cake repo, which has nice coverage to learn from