Log message #4172550

# At Username Text
# Jan 8th 2019, 00:33 NickBusey Of course my latest push to GitLab with 100% coverage breaks the test runners, even though there were no config changes. Gahh
# Jan 8th 2019, 00:14 NickBusey Last thing I need to figure out is just api based registration and login and all the cake-y stuff should be mostly sorted
# Jan 7th 2019, 23:58 challgren Nick you are like 3 weeks behind me :P
# Jan 7th 2019, 23:56 dereuromark nah not too specific
# Jan 7th 2019, 23:56 NickBusey now*
# Jan 7th 2019, 23:55 NickBusey well, no I gotta start actually building out the app, but if you have something specific you need I could probably take a look ;)
# Jan 7th 2019, 23:49 dereuromark concrats^^ wnna help me with some plugins?
# Jan 7th 2019, 23:47 NickBusey Not many lines for sure, but a nice starting place for a young project
# Jan 7th 2019, 23:47 NickBusey Woot! Just hit 100% coverage. :) Lines: 100.00% (274/274)
# Jan 7th 2019, 23:45 NickBusey `$this->modelClass`
# Jan 7th 2019, 23:37 NickBusey Best way to grab the Table for the current Controller in a Trait?
# Jan 7th 2019, 22:56 NickBusey Found my answer https://book.cakephp.org/3.0/en/development/testing.html#testing-actions-that-require-authentication
# Jan 7th 2019, 22:40 NickBusey Hmm, trying to write some tests for my controller traits, but the cakedc/users plugin api key auth stuff is interfering with it. Is there any easy way to disable that plugin for this test?
# Jan 7th 2019, 22:40 sdevore I’m rewriting a project from 1.3 days into 3.6.x right now (should be ready for 3.7+) and it started life in the 0.9 or so version because even if Larry had hair, mine would be even grayer ;)
# Jan 7th 2019, 21:04 challgren but mainly active =true|false
# Jan 7th 2019, 21:04 challgren I will have 1 use case
# Jan 7th 2019, 21:04 ricksaccous oh
# Jan 7th 2019, 21:04 challgren Ohh I dont do any conditions on associations
# Jan 7th 2019, 21:03 ricksaccous associations has a conditions option
# Jan 7th 2019, 21:03 challgren And like if logged in as superuser showing a bit more details
# Jan 7th 2019, 21:03 ricksaccous I see
# Jan 7th 2019, 21:02 challgren Yeah my use case is mainly condition restrictions such as only to the current tenant or current user
# Jan 7th 2019, 21:01 ricksaccous doesn't play well with some aspects of pagination
# Jan 7th 2019, 21:01 ricksaccous be careful with using finders to define associatons
# Jan 7th 2019, 21:01 ricksaccous i don't use finders too often, usually just make a method in the model
# Jan 7th 2019, 21:00 challgren I liked my arrays as conditions but now with being able to modify the query its even better
# Jan 7th 2019, 20:59 challgren Im starting to like the finders
# Jan 7th 2019, 20:59 ricksaccous yeah streamlines a lot of CRUD
# Jan 7th 2019, 20:58 challgren Took me a bit to grasp it but now I can see how powerful it is
# Jan 7th 2019, 20:58 challgren I do not with that on you. But yeah the ORM in 3.x is nice
# Jan 7th 2019, 20:58 challgren Lol yep!
# Jan 7th 2019, 20:57 ricksaccous also known as rewriting most of the application
# Jan 7th 2019, 20:57 ricksaccous fun stuff
# Jan 7th 2019, 20:57 ricksaccous and even later i'm converting a 1.3 to 3.x
# Jan 7th 2019, 20:57 ricksaccous but yeah, meh, i actually do have some 1.3 work to do later
# Jan 7th 2019, 20:56 ricksaccous of course i prefer working in 3.x
# Jan 7th 2019, 20:56 ricksaccous makes apps so much faster, and isn't too bad to migrate
# Jan 7th 2019, 20:56 ricksaccous what's great is the performance hike from 1.2 to 1.3
# Jan 7th 2019, 20:53 challgren lol
# Jan 7th 2019, 20:53 ricksaccous thank god someone put contain into 1.x
# Jan 7th 2019, 20:53 challgren I do have a 2.x I want to get converted but I wrote a lot of bad code 3 years ago so its best to redo it the correct way