Log message #4199017

# At Username Text
# Aug 20th 2019, 17:05 daniel.upshaw @ckjksl You're saying that the `manageProject` action has an increasing number of arguments?
# Aug 20th 2019, 16:58 ckjksl I have a controller that takes a couple arguments: `public function manageProject ($pcode = null, $action = null, $arg = null)` It used to be only two actions, but now it's getting out of control. Is there a way to separate it into different controller functions so that they're easier to manage?
# Aug 20th 2019, 16:48 daniel.upshaw Arg but it still passes them in indexed... so the action can't use an indexed passed parameter mixed with named ones
# Aug 20th 2019, 16:42 daniel.upshaw I found that by guessing... the docs mention `$this->request->getParam('pass')` which returns indexed
# Aug 20th 2019, 16:41 daniel.upshaw Oh! Seems to be possible with `->getParam($passedName)`
# Aug 20th 2019, 16:38 daniel.upshaw Trying to find a way to use "named pass," associative
# Aug 20th 2019, 16:38 daniel.upshaw Both using `->setPass()` and adding to the URL array
# Aug 20th 2019, 16:38 daniel.upshaw They seem to come in indexed, so it's hard to predict what the variables will be
# Aug 20th 2019, 16:37 daniel.upshaw If the same Controller action has some optional arguments
# Aug 20th 2019, 16:37 daniel.upshaw Passing parameters in routes seems to be a bit confusing
# Aug 20th 2019, 16:33 graziel you can check whats possible with `bin/cake bake migration --help`
# Aug 20th 2019, 16:29 lpj145 not can be create with bake command ?
# Aug 20th 2019, 16:28 ricksaccous @lpj145 you can easily create migrations in a plugin path but apart from that you can just create them and move them wherever you want
# Aug 20th 2019, 16:13 lpj145 @deal have a release time to 4x ?
# Aug 20th 2019, 16:13 lpj145 with "cake bake migration MigrationName "
# Aug 20th 2019, 16:13 lpj145 hi guy's.... someone know how i can create migration in another path ?
# Aug 20th 2019, 15:30 ricksaccous lol
# Aug 20th 2019, 15:30 ricksaccous i'm thinking if he doesn't budge at first i'll offer to pay for the plane ride myself/etc until he's like OKAY FINE GO
# Aug 20th 2019, 15:29 alexdd55976 i tried that too... received a good laugh
# Aug 20th 2019, 14:22 ricksaccous i need to convince my manager/boss it sounds like a fun trip
# Aug 20th 2019, 14:21 dereuromark not sure yet
# Aug 20th 2019, 14:19 ricksaccous @dereuromark are you going to Japan?
# Aug 20th 2019, 14:19 dereuromark huhu, cake4 project (app) is now level 7 in phpstan :slightly_smiling_face: https://github.com/cakephp/app/blob/4.x/phpstan.neon
# Aug 20th 2019, 13:39 jiri.sejhar if i have tree and update o item which is bettween others at first place and i update this item this item is now at last place in the branch in sql there is something strange . Why? UPDATE customers SET lft = ( (lft + -2) ) WHERE ( lft BETWEEN 3 AND 4 )
# Aug 20th 2019, 13:31 martin :P
# Aug 20th 2019, 13:23 ricksaccous international love
# Aug 20th 2019, 13:23 ricksaccous woah woah woah woah
# Aug 20th 2019, 13:22 martin hope we have no short plans to go international :P
# Aug 20th 2019, 13:22 martin oh I switched to irc again
# Aug 20th 2019, 13:21 Martin` :P
# Aug 20th 2019, 13:21 neon1024 It’s an ‘off-by-two’ error ;)
# Aug 20th 2019, 13:21 neon1024 Technically it already is, you’re just offset
# Aug 20th 2019, 13:20 martin everything switching to utc would be nice
# Aug 20th 2019, 13:20 martin something to look at,
# Aug 20th 2019, 13:20 martin when I use UTC in this project, things start two hours early :P
# Aug 20th 2019, 13:19 martin :P
# Aug 20th 2019, 13:19 admad ..and that's why kids you always use UTC
# Aug 20th 2019, 13:19 martin but I did expect it was not needed to set the timezone by formatting
# Aug 20th 2019, 13:19 martin I now do `'created' => $post['created_time']->i18nFormat('YYYY-MM-dd HH:mm:ss', 'Europe/Amsterdam')` that works fine :P
# Aug 20th 2019, 13:18 martin @admad yes that is what I have now, but from facebook (via webservice) I get an UTC time, and I just did save that one, but that fails
# Aug 20th 2019, 13:03 eax @spriz Negative, just a Command/Shell listening for stuff from Redis :slightly_smiling_face: