Log message #4214228

# At Username Text
# Nov 19th, 17:30 jotpe I did `composer require --update-with-dependencies "cakephp/cakephp:4.0.0-RC1"`
# Nov 19th, 17:29 slackebot <jotpe>
# Nov 19th, 17:29 jotpe I tried to upgrade to 4x. RC1 and got this composer message:
# Nov 19th, 16:54 savant IRC test message
# Nov 19th, 16:54 savant slack test message
# Nov 19th, 16:22 neon1024 Bake, Crud and CrudView will get most of it done
# Nov 19th, 16:22 noel (Still looking for the `->writeAppForMe` method)
# Nov 19th, 16:04 neon1024 Worth noting if you’re using `resources()` and you haven’t implemented the methods, the routes will throw missing method errors
# Nov 19th, 16:02 neon1024 Outside of this table, you’ll need to create your own routing
# Nov 19th, 16:02 neon1024 See the table :point_right: https://book.cakephp.org/3/en/development/routing.html#restful-routing
# Nov 19th, 16:01 noel I'm using Accept and Content Headers instead of .json ext
# Nov 19th, 16:01 neon1024 The `resources()` method only maps certain things
# Nov 19th, 16:01 noel via Postman
# Nov 19th, 16:01 jotpe maybe missing .json?
# Nov 19th, 16:01 neon1024 @noel Your assumption is wrong
# Nov 19th, 16:00 jotpe @noel how did you accessed the url?
# Nov 19th, 15:59 noel @jotpe yes
# Nov 19th, 15:59 jotpe @noel so index action works?
# Nov 19th, 15:56 pieceof rite
# Nov 19th, 15:56 jotpe @pieceof it's not a 403
# Nov 19th, 15:55 pieceof $this->auth->allow[......'clients'];
# Nov 19th, 15:54 slackebot convention would mean that any action in my controller would be mapped?
# Nov 19th, 15:54 noel Hi all. I have the following routes set up: ```Router::prefix('api', function (RouteBuilder $routes) { $routes->resources('Users'); })``` This maps the route `/api/users` correctly. I've then added an action to my UsersController like so: ```class UsersController extends BaseUsersController { public function clients() {} }``` However on the route `api/users/clients` it is giving me a 404 error. What am I missing? I thought that the
# Nov 19th, 15:51 jotpe Can I use $this->response->body with a callback?
# Nov 19th, 15:51 jotpe This is solved with Symfonys Response: https://gist.github.com/damijanc/c23d7358d298898c96d4d7b5eec0d616
# Nov 19th, 15:51 jotpe Hey guys. If I want to send a file created by PHPOffice\Spreadsheet without writing the file to disk, how can I achive this?
# Nov 19th, 14:47 shifat.it Great
# Nov 19th, 14:43 pieceof thx 4 the reference, now listenin
# Nov 19th, 14:38 neon1024 Plus Rector will be included in a new future release of the upgrade tool :point_right: https://github.com/cakephp/upgrade/tree/4.x
# Nov 19th, 14:37 neon1024 Lots of upgrades already supported :point_right: https://github.com/rectorphp/rector/tree/master/config/set/cakephp
# Nov 19th, 14:37 neon1024 Even support for Cake 4 is happening :point_right: https://github.com/rectorphp/rector/pull/2337
# Nov 19th, 14:35 shifat.it okay
# Nov 19th, 14:35 neon1024 https://github.com/rectorphp/rector
# Nov 19th, 14:34 neon1024 You could use Rector to do the upgrade automatically for you
# Nov 19th, 14:34 neon1024 They’re deprecated, but not removed. So you can stick with the old methods if you want to and are not interested in updating to 4.0 quickly
# Nov 19th, 14:33 neon1024 You want a reason which is more important than the friction to doing the work
# Nov 19th, 14:33 neon1024 Means, I don’t want to do all the work, why are they making me do this work?
# Nov 19th, 14:33 neon1024 > They did it for a reason...
# Nov 19th, 14:33 neon1024 What you’re really talking about
# Nov 19th, 14:30 shifat.it 1 keyword : Readable. I agree to this
# Nov 19th, 14:29 admad @pieceof meh, he still got nothing over the "27 club"