Log message #4155164

# At Username Text
# Jul 2nd 2018, 19:29 josbeir Physics
# Jul 2nd 2018, 19:29 bravo-kernel think of my code @admad, it's very similar
# Jul 2nd 2018, 19:28 admad how the hell that went in? x)
# Jul 2nd 2018, 19:28 josbeir Lol
# Jul 2nd 2018, 19:28 bravo-kernel omg, gotta go, haha
# Jul 2nd 2018, 19:28 josbeir 2-1
# Jul 2nd 2018, 19:27 josbeir Yes
# Jul 2nd 2018, 19:27 bravo-kernel Is Jap in the lead :face_with_rolling_eyes: ?
# Jul 2nd 2018, 19:23 itmpls i'm currently setting it in the request..
# Jul 2nd 2018, 19:22 itmpls so - can anyone advise how to save/set something in the middleware and have it be accessible in configs?
# Jul 2nd 2018, 19:19 itmpls what'd I say!
# Jul 2nd 2018, 19:13 josbeir Jap is playing good
# Jul 2nd 2018, 19:12 saeideng Belguim go to home
# Jul 2nd 2018, 19:12 admad craziest WC ever
# Jul 2nd 2018, 19:12 saeideng japan :D
# Jul 2nd 2018, 19:10 josbeir :/
# Jul 2nd 2018, 19:10 admad @josbeir WTF
# Jul 2nd 2018, 18:44 josbeir Indeed
# Jul 2nd 2018, 18:44 saeideng japan
# Jul 2nd 2018, 18:43 josbeir Those Japs have built themselves a wall
# Jul 2nd 2018, 18:42 josbeir Let's hope not
# Jul 2nd 2018, 18:42 itmpls @josbeir japan!!!
# Jul 2nd 2018, 18:42 saeideng footbal?
# Jul 2nd 2018, 18:40 josbeir :flag-be: :flag-be: :flag-be: :flag-be:
# Jul 2nd 2018, 18:35 okelet thanks, @admad, is it possible to create a findAll(), so when I call find(), without the type, findAll is executed?
# Jul 2nd 2018, 17:58 itmpls it applies the lambda function even if the host is different than *.blah.com
# Jul 2nd 2018, 17:58 itmpls also - why is Router::scope('/', ['_host' => '*.blah.com'], function(){} ); not actually matching on the host?
# Jul 2nd 2018, 17:46 itmpls in my middleware, I parse the subdomain. I want to provide this value so it can be accessible in config/routes.php. can anyone recommend where to store it? trying to provide the dynamic host/route basically
# Jul 2nd 2018, 16:54 admad @okelet read up about custom find types
# Jul 2nd 2018, 16:27 camdenbassett https://thepasteb.in/p/AnhrPyoqV74fv
# Jul 2nd 2018, 16:27 camdenbassett $response = $conn->execute($replace_into_form);
# Jul 2nd 2018, 16:24 camdenbassett Ok, so I found out how to get the last inserted ID when executing a custom query using the connection object. But does anyone know if this is completely reliable?
# Jul 2nd 2018, 16:21 afdm74 @josbeir That's the thing, I'm not using thoses classes directly... Some other code is using it.
# Jul 2nd 2018, 16:10 okelet hi all, quite new to cakephp here, great job! my question, how to do all queries to have default contains? I don't want to repeat the same contains multiple times, every time i do a search... Thanks!
# Jul 2nd 2018, 15:53 josbeir you should update your code accordingly
# Jul 2nd 2018, 15:53 josbeir yeah but thats just nice exceptions of classes that changed name/scope
# Jul 2nd 2018, 15:51 afdm74 @josbeir line 444 just include the Class file. But I was unable to point out the files that needed these classes....
# Jul 2nd 2018, 15:50 afdm74 @josbeir The message I 'm getting is this: Use Cake\Mailer\Email instead of Cake\Network\Email\Email. - /home/pbxcircus/app/vendor/composer/ClassLoader.php, line: 444 and this: Use Cake\Http\ServerRequest instead of Cake\Network\Request.
# Jul 2nd 2018, 15:48 afdm74 @josbeir I don think that it is a bug yet..... (investigating....) I'm talking as a Bug because the code is not my code and it looks like is something that didn't get updated in the update process.
# Jul 2nd 2018, 15:39 camdenbassett I've been doing a little more research on my question. And I haven't found any answer that seems to work. I could just run a select statement to get the highest id, but that's not completely reliable. Is there any way to access the underlying PDO functions when using a custom query maybe?
# Jul 2nd 2018, 15:29 josbeir ah cake has one too