Log message #4191877

# At Username Text
# Jul 3rd 2019, 18:42 cnizzardini What are you trying to accomplish?
# Jul 3rd 2019, 18:42 brian__ I'm just copying from code I see in the app so it's possible I'm doing this all wrong. I understand how to query pretty well just never needed to insert rows until now
# Jul 3rd 2019, 18:41 cnizzardini hmm not familiar with ClassRegistry
# Jul 3rd 2019, 18:41 brian__ and then this: $storeQuantity = $this->StoreQuantity->create();
# Jul 3rd 2019, 18:41 brian__ I'm doing this: $this->StoreQuantity = ClassRegistry::init('StoreQuantity');
# Jul 3rd 2019, 18:40 cnizzardini you are calling create on what? what class/object?
# Jul 3rd 2019, 18:40 brian__ but I can't call save() on an array lol
# Jul 3rd 2019, 18:40 brian__ so it's seeing my model, obviously, and it's seeing columns I added to the table, so that stuff is working
# Jul 3rd 2019, 18:39 brian__ the array is ['MyModel']['acolumnfromthetable']
# Jul 3rd 2019, 18:39 brian__ got a simple question from a newbie.. I'm working on a app given to me.. I created a table and a model to go with it (my model class is empty right now) and when I call create() it returns an array rather than an object. What step did I miss
# Jul 3rd 2019, 18:38 niel45 barely
# Jul 3rd 2019, 18:37 brian__ anyone alive?
# Jul 3rd 2019, 18:36 cnizzardini h($string, false) seems to work, but is that safe?
# Jul 3rd 2019, 18:34 cnizzardini Is there a way to allow apostrophes? Ryan O'Rourke is pissed
# Jul 3rd 2019, 18:34 cnizzardini h() is outputting this: Ryan Oand#39;Rourke
# Jul 3rd 2019, 18:20 chrisshick is it possible to set the Json format for datetimes within a routed scope?
# Jul 3rd 2019, 17:51 liquifiede I have a validation on my input `<?= $this->Form->input('lon', ['type' => 'text']) ?>` but when the validation errors, it applies `form-error` to the input field, making it disappear while showing the error message. This is odd, shouldn't it still show the input field to make a correction?
# Jul 3rd 2019, 15:49 neothermic can't tempt you with a job? :)
# Jul 3rd 2019, 15:48 neothermic yeah, the shim is my first and most important thing to do after the upgrade steps
# Jul 3rd 2019, 15:48 neon1024 Yes, I’ve seen job postings
# Jul 3rd 2019, 15:48 neothermic it scares me slightly, as when we went from 1.3 to 2.x we had 4 developers. Now we have 2 :(
# Jul 3rd 2019, 15:48 neon1024 Perhaps you can make liberal use of @dereuromark shim and upgrade plugins to help transition
# Jul 3rd 2019, 15:47 neon1024 Fingers crossed for you and the team @neothermic
# Jul 3rd 2019, 15:19 neothermic I suspect that once 4.x lands, we'll move to 3.x, but then if 4.x is cheap enough to hit after solving 3.x, then I might be able to migrate us up to 4.x after the 2.x -> 3.x dust settles
# Jul 3rd 2019, 15:18 neothermic the furthest we've been out of date was on 1.3 when 3.0 got released, but we upgraded to 2.x to keep in support :)
# Jul 3rd 2019, 15:18 neothermic it'd be more absurd
# Jul 3rd 2019, 15:12 dereuromark wouldnt 9.x be even funnier?^^
# Jul 3rd 2019, 15:09 neothermic and you'll go "someone want to upgrade a few plugins to 5.x?"
# Jul 3rd 2019, 15:09 neothermic I'll get onto 3.x
# Jul 3rd 2019, 15:03 dereuromark still a bit funny though ;)
# Jul 3rd 2019, 15:03 neothermic (one day this'll no longer be a joke :) )
# Jul 3rd 2019, 15:03 neothermic @dereuromark Oooh, lemme just update to 3.x first ;)
# Jul 3rd 2019, 14:44 dereuromark someone wants to upgrade a few plugins to 4.x? :slightly_smiling_face: I already did IdeHelper and Shim etc.
# Jul 3rd 2019, 14:43 itmpls when . I use ->render() within a controller, why isn't it taking into account . my ->set(compact('foo')) $foo var that's defined?
# Jul 3rd 2019, 14:22 neothermic I tried doing `$this->Auth->settings['scope'] = [/* new scope here */];`, but doing a debug in the `_findUser` shows that this didn't take
# Jul 3rd 2019, 14:21 neothermic I don't suppose I can change the scope setting in an authcomponent after the thing has been constructed? (in 2.x)
# Jul 3rd 2019, 13:45 graziel you can check params of command using --help arg in most cases
# Jul 3rd 2019, 13:43 birdy247 thanks
# Jul 3rd 2019, 13:43 birdy247 awesome
# Jul 3rd 2019, 13:28 graziel bin/cake bake seed test --data --table=users
# Jul 3rd 2019, 13:21 birdy247 I cant see this in the docs but sure its possible