# |
Oct 6th 2016, 09:53 |
rudy1976s |
Hello , Is there a clean way to have core cakephp3 files in a shared folder? we have plenty of instances to run and we would like to centralize the cake core. I read something googling but I am not sure the best way to approach |
# |
Oct 6th 2016, 09:52 |
birdy247 |
in a BelongsToMany relationship, if a parent record is deleted, in the data in the joinTable also deleted? |
# |
Oct 6th 2016, 09:51 |
birdy247 |
by default |
# |
Oct 6th 2016, 09:48 |
mesterjagel |
- Using angular 2 |
# |
Oct 6th 2016, 09:48 |
mesterjagel |
Hey guys, how would you go about serving an index file in an other directory via the router? Trying to host a one page app :slightly_smiling_face:? |
# |
Oct 6th 2016, 09:47 |
Human_G33k |
dereuromark, you can confirm me, now we can have several field primary key ? |
# |
Oct 6th 2016, 09:41 |
Human_G33k |
ok my bad, thx, i will check that. |
# |
Oct 6th 2016, 09:37 |
dereuromark |
it is actually as easy as replacing 3.0 with master |
# |
Oct 6th 2016, 09:37 |
dereuromark |
Human: Did you by any chance try to find that file in the master branch? ;) |
# |
Oct 6th 2016, 09:36 |
dereuromark |
what is the recommended solution for sql error "must appear in the GROUP BY clause or be used in an aggregate function" (https://travis-ci.org/dereuromark/CakePHP-DatabaseLog/jobs/165390489) |
# |
Oct 6th 2016, 09:36 |
Human_G33k |
the dead link is https://github.com/dereuromark/cakephp-shim/blob/3.0/docs/Features.md#uuid-as-binary36 |
# |
Oct 6th 2016, 09:33 |
Human_G33k |
dereuromark i found a link to your github but is dead, i need more information about uuid, bin/bake, many to many relations if you have good link or tutorial. i probably do something wrong because when i try to had users, i have sql error |
# |
Oct 6th 2016, 09:32 |
hmic |
so its 3.x? why do you want/need to do this? |
# |
Oct 6th 2016, 09:27 |
birdy247 |
$this->associations->remove('name'); |
# |
Oct 6th 2016, 09:27 |
birdy247 |
I got it |
# |
Oct 6th 2016, 09:23 |
hmic |
birdy247: is it 2.x you are talking about? because of using recursive (still)? |
# |
Oct 6th 2016, 09:22 |
birdy247 |
I cant recall how to do it |
# |
Oct 6th 2016, 09:22 |
birdy247 |
I have asked this before, but removing an association on the fly |
# |
Oct 6th 2016, 09:22 |
dereuromark |
I am |
# |
Oct 6th 2016, 09:22 |
birdy247 |
Hi |
# |
Oct 6th 2016, 09:18 |
Human_G33k |
dereuromark, are you here ? |
# |
Oct 6th 2016, 09:00 |
rsadza |
thanks :slightly_smiling_face: |
# |
Oct 6th 2016, 08:54 |
hmic |
it's a bit confusing, given. they could have called the events by that: buildValidatorEvent vs. buildValidator e.g. |
# |
Oct 6th 2016, 08:54 |
rsadza |
I was still in CakePHP2 mode ;) |
# |
Oct 6th 2016, 08:54 |
hmic |
even though they are sharing the same function names (in different classes) their definition differs |
# |
Oct 6th 2016, 08:54 |
rsadza |
aaah |
# |
Oct 6th 2016, 08:53 |
hmic |
you need to destinguish between events and callbacks |
# |
Oct 6th 2016, 08:53 |
hmic |
and as such it receives an event as the first argument. |
# |
Oct 6th 2016, 08:53 |
hmic |
this is not a callback *but* a event |
# |
Oct 6th 2016, 08:53 |
hmic |
rsadza: why do you think so? |
# |
Oct 6th 2016, 08:39 |
rsadza |
Hey guys, I just found out that in the documentation the interface for Cake\ORM\Table::buildRules is incorrect http://book.cakephp.org/3.0/en/orm/table-objects.html#buildvalidator (in practice it has 1 argument RulesChecker) should Event be left out for all lifecycle callbacks? |
# |
Oct 6th 2016, 08:29 |
inoas |
I really have to add tests and squash my commit spam |
# |
Oct 6th 2016, 08:28 |
inoas |
slap clearly is not a git command! |
# |
Oct 6th 2016, 08:28 |
inoas |
admad I think you meant git blame inoas http://hastebin.com/cikerococi.txt |
# |
Oct 6th 2016, 08:27 |
admad |
`git slap inoas` |
# |
Oct 6th 2016, 08:25 |
inoas |
git badminton git: 'badminton' is not a git command. See 'git --help'. |
# |
Oct 6th 2016, 08:24 |
inoas |
admad I prefer badminton over squash :p |
# |
Oct 6th 2016, 08:13 |
wrksx |
hope you guys are alright |
# |
Oct 6th 2016, 08:13 |
wrksx |
heeeey there |
# |
Oct 6th 2016, 08:13 |
neothermic |
We find that pushing to remote is more useful than just committing locally, not only for redundancy, but accessibility (you can pick the work up from anywhere) and visibility (getting help, etc) |
# |
Oct 6th 2016, 08:12 |
neothermic |
Ahh, we have differing opinions on what is useful then :slightly_smiling_face: |