Log message #4055964

# At Username Text
# Jul 24th 2017, 07:40 birdy247 I am wondering about the migration process
# Jul 24th 2017, 07:38 birdy247 I currently use you cakephp hybrid auth
# Jul 24th 2017, 07:38 birdy247 @admad I am thinking of using your new social-auth plugin
# Jul 24th 2017, 07:38 birdy247 Morning neon1024
# Jul 24th 2017, 07:36 neon1024 Morning everyone
# Jul 24th 2017, 07:25 birdy247 Hi
# Jul 24th 2017, 07:05 thomasnucleus I did it in the AppController
# Jul 24th 2017, 07:02 chrisshick @thomasnucleus have you use the setDefaultLocale in the template?
# Jul 24th 2017, 06:56 chrisshick Just a thought, you could use native postgres to return your dates in a specified timezone
# Jul 24th 2017, 06:53 thomasnucleus I'm using postgres
# Jul 24th 2017, 06:52 chrisshick @thomasnucleus are you using mysql?
# Jul 24th 2017, 06:44 thomasnucleus ?= h($account->submission_date) ?
# Jul 24th 2017, 06:39 savant how are you outputting dates now?
# Jul 24th 2017, 06:28 thomasnucleus Is there a way to do it without using the TimeHelper for every date output?
# Jul 24th 2017, 06:17 thomasnucleus Which I've placed in AppController.php initialize method
# Jul 24th 2017, 06:16 thomasnucleus Not having much luck with setting my app to display all dates in a en-AU format. I still want to save dates as UTC.
# Jul 24th 2017, 05:02 chrisshick @chris-andre
# Jul 24th 2017, 05:02 chrisshick Good morning!
# Jul 24th 2017, 04:53 chris-andre Morning!
# Jul 24th 2017, 00:29 royalty there must be an autocomplete widget
# Jul 24th 2017, 00:29 royalty that's custom i believe
# Jul 23rd 2017, 23:30 gutts $this->Form->autocomplete.. is this built-in or custom? within a template
# Jul 23rd 2017, 23:29 phpnut hi @leso just ask your question
# Jul 23rd 2017, 22:56 leso need help
# Jul 23rd 2017, 22:56 leso hi
# Jul 23rd 2017, 17:42 newyorknick false alarm still not seeing that in my routes. I’ve configured it in my user config etc
# Jul 23rd 2017, 17:37 newyorknick my b
# Jul 23rd 2017, 17:37 newyorknick shit I was one level too deep in my ide
# Jul 23rd 2017, 17:35 newyorknick which is in the perms file
# Jul 23rd 2017, 17:35 newyorknick the only thing i see is `'action' => ['register', 'edit', 'view'],`
# Jul 23rd 2017, 17:34 newyorknick I feel like thats a ridiculous question as a I see the register trait in the plugin but I can’t access it
# Jul 23rd 2017, 17:32 newyorknick is there a standard register action by default? If so, whats the route?
# Jul 23rd 2017, 15:33 chris-andre Check that you have followed https://book.cakephp.org/3.0/en/intro/conventions.html#model-and-database-conventions, and/or that `className` refers to the table class you intend to, and foreignKey is right. If you followed the conventions, it should be a pretty simple setup. If you don't, just a little more config to do.
# Jul 23rd 2017, 15:30 chris-andre @tokam Users hasMany Tasks, Tasks belongsTo Users. So no, that relation is no problem.
# Jul 23rd 2017, 12:06 iqbalchannar796 thanks chris-andre, not it is working fine for me, i greatful you, you have spent much time for solving me problem, so i am thankful for this, every time is need to add hidden flied for editing record
# Jul 23rd 2017, 12:06 tokam is that a problem?
# Jul 23rd 2017, 12:06 tokam I have mapped a belongsTo but on the other side a hasMany
# Jul 23rd 2017, 12:06 tokam Hi, what might be a reason for cake php not loading a belongsTo association?
# Jul 23rd 2017, 11:56 chris-andre I think a `$this->Form->input('users.0.id', ['type' => 'hidden'])` in your edit template will solve your problem.
# Jul 23rd 2017, 11:54 chris-andre Here you see that it originally has an association with users: https://gist.github.com/anonymous/e04717f941d585ecdf53e67f5aa44059#file-gistfile1-txt-L71 This is the user you want to update.
# Jul 23rd 2017, 11:54 chris-andre This is telling you that a new users is being created, but it fails because username is not unique and password is missing: https://gist.github.com/anonymous/e04717f941d585ecdf53e67f5aa44059#file-gistfile1-txt-L36