Log message #4125378

# At Username Text
# 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
# Mar 15th 2018, 13:03 dereuromark Also see https://github.com/FriendsOfCake/awesome-cakephp and the tons of plugins there, they all are using phpunit test cases. learn from them.
# Mar 15th 2018, 13:02 generitter Read the PHPUnit documentation. CakePHP enhances the unit testing with fixtures and what not, but most of the how to is in PHPUnit. I would also write my business logic code in service objects so that database layer calls could be mocked easily.
# Mar 15th 2018, 12:58 roel Hello everyone, I want to learn how to test my code with php unittest. Does anyone have any pointers/best practices or tutorials I can read other than the CakePHP test documentation? It would be great if there is a tutorial available that focuses on the creating of unit tests of the "Tutorials and Examples" within the CakePHP documentation. Thanks in advance :slightly_smiling_face:
# Mar 15th 2018, 12:51 jason001 hey guys, does anyone have any experience using wkhtmltopdf with cakephp3? i'm running into some problems setting the cookie
# Mar 15th 2018, 12:48 alysson-azevedo yes
# Mar 15th 2018, 12:48 alysson-azevedo yrd
# Mar 15th 2018, 12:47 graziel maybe you have some iframe hiding css in theme