# |
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: |
# |
Oct 6th 2016, 08:11 |
hmic |
this forces you to think before you push, which is a good thing usually ,-) |
# |
Oct 6th 2016, 08:10 |
hmic |
if the ide integration is done well, this can be a good thing actually... |
# |
Oct 6th 2016, 08:10 |
hmic |
you need to squash before you push |
# |
Oct 6th 2016, 08:10 |
hmic |
neothermic: no problem. its all in your local repo only |
# |
Oct 6th 2016, 08:09 |
neothermic |
committing every save sounds like a mistake waiting to happen :) |
# |
Oct 6th 2016, 08:09 |
hmic |
neothermic: if you use an ide that commits every save, you learn fast to do so :p |
# |
Oct 6th 2016, 08:08 |
neothermic |
It's weird squashing commits; we don't do it at work :P |
# |
Oct 6th 2016, 08:08 |
neothermic |
but yes, that has been done |
# |
Oct 6th 2016, 08:06 |
neothermic |
Tenses? :) |
# |
Oct 6th 2016, 08:05 |
admad |
@neothermic it's squash not squish :P |