Log message #4219682

# At Username Text
# Dec 20th 2019, 13:56 gianmarxgagliardi it was a typo
# Dec 20th 2019, 13:55 dsar I know @noel ;)
# Dec 20th 2019, 13:54 dsar @gianmarxgagliardi I didn't expect that would fix the problem, it is just better to use correct plurals in CakePHP
# Dec 20th 2019, 13:53 noel @dsar Matchs is not a correct plural
# Dec 20th 2019, 13:48 gianmarxgagliardi :(
# Dec 20th 2019, 13:48 gianmarxgagliardi @dsar the substance does not change
# Dec 20th 2019, 13:47 admad there will be other things you can help with
# Dec 20th 2019, 13:47 admad :)
# Dec 20th 2019, 13:45 tibor.hajos @admad aww, I was just about to submit a merge request. But your implementation looks more thorough than mine.
# Dec 20th 2019, 13:44 val Hi, where can I find documentation for `$options` used in `public function afterSave(Event $event, EntityInterface $entity, ArrayObject $options)`?
# Dec 20th 2019, 13:39 gianmarxgagliardi I try to put matches? and put it all back into cooking?
# Dec 20th 2019, 13:33 dsar Is Matchs a correct plural? It is better to use the same plurals as the Inflector class to avoid problems in CakePHP
# Dec 20th 2019, 13:30 gianmarxgagliardi ```$match->club->nome_societa``` in the variables I can access the name of only one of the two clubs there is no way to be able to take both of them thus obtaining two array clubs in the variables
# Dec 20th 2019, 13:30 admad @tibor.hajos https://github.com/cakephp/cakephp/pull/14056
# Dec 20th 2019, 13:25 noel Does anyone know of any sublime packages that will tidy a .ctp file?
# Dec 20th 2019, 13:24 admad @tibor.hajos I actually already have an almost finished implementation for it locally :)
# Dec 20th 2019, 13:18 dsar @tibor.hajos Documentation also needs contributions, e.g. more tutorials about common use cases
# Dec 20th 2019, 13:18 gianmarxgagliardi ```public function index()     {         $this->paginate = [             'contain' => ['SeasonReferees', 'Clubs'],         ];                  $matchs = $this->paginate($this->Matchs);         $this->set(compact('matchs'));     }```
# Dec 20th 2019, 12:38 ceeram you'd better @tibor.hajos
# Dec 20th 2019, 10:35 tibor.hajos Awesome :) I'll do my best
# Dec 20th 2019, 10:27 dereuromark @tibor.hajos go for it :)
# Dec 20th 2019, 10:11 jotpe Hi folks! It's friday :tada:
# Dec 20th 2019, 10:04 slackebot something easy to start of with. Is this currently being worked on? And if not, could I please make an attempt?
# Dec 20th 2019, 10:04 tibor.hajos Hello all! I have been using cake for a few months now and I would like to contribute in order to give back to people that have been making my life easier and in order to improve my coding skills. I also need an excuse to get into the source code of Cake as I have an urge to take a look at it :) At the 4.1 milestone (https://github.com/cakephp/cakephp/wiki/4.1-Roadmap) I noticed the log message creation needs improvement. This seems
# Dec 20th 2019, 09:40 gianmarxgagliardi ok perfect. now I try to cook everything again according to the conventions
# Dec 20th 2019, 09:39 challgren But without seeing your rules can’t really say for sure
# Dec 20th 2019, 09:38 challgren but one issue I see is your Matches.referee_id should be Matches.season_referee_id to follow cake naming conventions
# Dec 20th 2019, 09:37 challgren Oh NM
# Dec 20th 2019, 09:37 challgren That needs to be in your Matches table
# Dec 20th 2019, 09:36 slackebot <challgren>
# Dec 20th 2019, 09:34 slackebot $this->setPrimaryKey('id'); $this->belongsTo('SeasonReferees', [ 'foreignKey' => 'referee_id', 'joinType' => 'INNER', ]); $this->belongsTo('Clubs', [ 'foreignKey' => 'club_home_id', 'joinType' => 'INNER', ]); $this->belongsTo('Clubs', [ 'foreignKey' => 'club_visitor_id', 'joinType' => 'INNER', ]); }```
# Dec 20th 2019, 09:34 slackebot $this->belongsTo('Referees', [ 'foreignKey' => 'referee_id', 'joinType' => 'INNER', ]); $this->hasMany('Matchs', [ 'foreignKey' => 'referee_id', ]); }``` While in the model>table for Matchs: ``` public function initialize(array $config) { parent::initialize($config); $this->setTable('matchs'); $this->setDisplayField('id');
# Dec 20th 2019, 09:34 gianmarxgagliardi hi I have an insertion problem, it gives me: `"ExistsIn rule for 'referee_id' is invalid. 'Referees' is not associated with 'App\Model\Table\MatchsTable'."` In the model>table for SeasonReferees: ``` public function initialize(array $config) { parent::initialize($config); $this->setTable('season_referees'); $this->setDisplayField('id'); $this->setPrimaryKey('id');
# Dec 20th 2019, 08:29 gianmarxgagliardi morning
# Dec 20th 2019, 06:51 megan morning :)
# Dec 20th 2019, 04:44 challgren Cake\Http\Client to download files?
# Dec 20th 2019, 04:43 challgren Whats the best way to use
# Dec 20th 2019, 02:33 kani cake 4 not loading plugin route
# Dec 19th 2019, 21:19 alexmax Thanks for responding though
# Dec 19th 2019, 21:17 alexmax I did notice that many of our sessions at rest in redis were missing user data that ought to have been put there.
# Dec 19th 2019, 21:17 alexmax I suspect DNS tomfoolery