Log message #4160792

# At Username Text
# Jul 20th 2018, 05:32 savant i would suggest taking a day or two with each option and figuring out which one you like better
# Jul 20th 2018, 05:32 savant it was my first framework and I didnt really know how to program
# Jul 20th 2018, 05:32 savant i learned cakephp over a week like 10 years ago
# Jul 20th 2018, 05:31 savant not sure
# Jul 20th 2018, 05:31 alpereneser Which one is easiest to learn? @savant
# Jul 20th 2018, 05:25 savant its great
# Jul 20th 2018, 05:25 savant I use cakephp
# Jul 20th 2018, 05:25 savant use the one you feel most comfortable with
# Jul 20th 2018, 05:21 alpereneser CakePHP or Laravel?*:relaxed:
# Jul 20th 2018, 04:11 thomasnucleus thanks
# Jul 20th 2018, 04:11 thomasnucleus that should work well
# Jul 20th 2018, 04:07 savant ^
# Jul 20th 2018, 04:07 jslamka5685 delete anything you dont want once its local, redump and you have a clean sql export
# Jul 20th 2018, 04:06 jslamka5685 mysqldump
# Jul 20th 2018, 04:06 thomasnucleus I'm wondering how other developers handle this. I would like to get a copy of my production database to use for local development. Ideally I would need to sanitize private data. What is the best way to go about this?
# Jul 20th 2018, 01:48 jslamka5685 @beakman I am working on a concept and am building in Cake3. The docs were down last night so I ended up here :P
# Jul 20th 2018, 01:47 jslamka5685 @beakman You missed me by, like, one hour.
# Jul 19th 2018, 22:54 D-rex hah
# Jul 19th 2018, 22:54 D-rex oh sh*t
# Jul 19th 2018, 22:53 sdevore it’s in the url ;)
# Jul 19th 2018, 22:53 D-rex yeah
# Jul 19th 2018, 22:53 sdevore you mean the one at https://discourse.cakephp.org
# Jul 19th 2018, 22:52 D-rex what forum software is cakephp main site using?
# Jul 19th 2018, 22:09 lpouzenc thanks guys. Cake is great :-)
# Jul 19th 2018, 22:04 okelet Question rewritten: I have extended ADmad/JwtAuth.Jwt overriding the getUser method. If in that method I return an entity, I always get 401 unauthorized; if I return the entity as an array, it works fine. I want to return an entity because I would like to use some methods on the class, accessing the user using $this->Auth->user(). Is not possible to return an object instead an array?
# Jul 19th 2018, 21:52 okelet With some plugins to enhance autocomplete
# Jul 19th 2018, 21:51 okelet I use visual studio code without problems
# Jul 19th 2018, 21:42 lpouzenc Other question : what developer environnement fit the best for Cake 3.6 and autocomplete ?
# Jul 19th 2018, 21:37 lpouzenc admad, slackebot : $table->associations()->getByType('BelongsTo') (with "s") works as a charm
# Jul 19th 2018, 21:34 lpouzenc admad, slackebot : this sounds very good, I'll try right now
# Jul 19th 2018, 21:33 admad lpouzenc: $table->associations()->getByType('BelongTo')
# Jul 19th 2018, 21:31 asdfgh what do you mean with "needs new tag" ??
# Jul 19th 2018, 21:31 asdfgh i am using cakephp 3.5
# Jul 19th 2018, 21:31 asdfgh saeideng yes
# Jul 19th 2018, 21:22 lpouzenc I can't find a way to walk over associations in cake Table. I only find getter that need model Name. I understand there is lazy loading mechanics involved around there.
# Jul 19th 2018, 21:21 lpouzenc and during cake bake all, I have a list of some foreignKeys : ['adherent_type_id', 'ville_id'], I want to resolve this to a list that is ['AdherentTypes', 'Villes'] based on belongsTo() information.
# Jul 19th 2018, 21:19 lpouzenc https://paste.gnome.org/pfpfuqi2q
# Jul 19th 2018, 21:19 lpouzenc to put an example, I have this model :
# Jul 19th 2018, 21:12 lpouzenc CakePHP 3.6
# Jul 19th 2018, 21:11 lpouzenc I am in a custom helper, during "cake bake all", I generated Controller's index() method, I have a list of columns names from current model in input, they belongsTo() some others models, I want to ouput the list of those models.
# Jul 19th 2018, 21:07 lpouzenc Hi, as a CakePHP user, I am extending bake to generate some more code (I want to generate the stuff needed to have friendsofcake/Search working)