# |
May 30th 2016, 10:25 |
spriz |
:+1: |
# |
May 30th 2016, 10:24 |
ionas |
frzrr: you as well |
# |
May 30th 2016, 10:24 |
ionas |
unorthodox: here you can thumb-down stuff: https://github.com/cakephp/cakephp/issues/8909 |
# |
May 30th 2016, 10:23 |
ionas |
mehâ?¦ lets hug instead ok? |
# |
May 30th 2016, 10:22 |
spriz |
fuck me then. :) |
# |
May 30th 2016, 10:22 |
spriz |
Ah :P |
# |
May 30th 2016, 10:22 |
ionas |
the HABTM magic is the issue ;) not the theory ;p |
# |
May 30th 2016, 10:22 |
ionas |
spriz say what! |
# |
May 30th 2016, 10:22 |
spriz |
@ionas that still makes a n-n relation between Student and Course :P |
# |
May 30th 2016, 10:20 |
kants |
Is anybody familiar about this ? |
# |
May 30th 2016, 10:20 |
kants |
Its saving wrong month in database |
# |
May 30th 2016, 10:20 |
kants |
Facing a strange issues of saving date format in cakephp 3.0 |
# |
May 30th 2016, 10:16 |
ionas |
pun intended right? |
# |
May 30th 2016, 10:16 |
ionas |
lol |
# |
May 30th 2016, 10:16 |
unorthodox |
There's always space for a new PR ionas :slightly_smiling_face: |
# |
May 30th 2016, 10:15 |
ionas |
or just ExistsIn === false |
# |
May 30th 2016, 10:14 |
ionas |
makes me wonder if we just want notExistsIn (like there is ExistsIn) |
# |
May 30th 2016, 10:14 |
ionas |
hm |
# |
May 30th 2016, 10:12 |
frzrr |
so weird, had the exact same opposite problem before, added duplicates when i didnt want it but now i do :P sigh |
# |
May 30th 2016, 10:10 |
frzrr |
yea, me too :) |
# |
May 30th 2016, 10:09 |
ionas |
I wish I could help you with HABTM :( |
# |
May 30th 2016, 10:09 |
ionas |
Student HasMany> <BelongsTo Membership BelongsTo> <HasMany Course |
# |
May 30th 2016, 10:08 |
frzrr |
because it's easier than defining custom relations most of the time |
# |
May 30th 2016, 10:08 |
ionas |
HABTM (m:n( can always be resolved to n:1:n |
# |
May 30th 2016, 10:08 |
ionas |
why? |
# |
May 30th 2016, 10:08 |
ionas |
you have to? |
# |
May 30th 2016, 10:08 |
Guest66202 |
i like new branding :) |
# |
May 30th 2016, 10:07 |
frzrr |
and the relations ..isnt simple |
# |
May 30th 2016, 10:07 |
frzrr |
yeah, unfortunately, habtm i have to use it when making logistics systems :D |
# |
May 30th 2016, 10:07 |
frzrr |
ahh |
# |
May 30th 2016, 10:07 |
ionas |
simply in the assoc the options for save strategy |
# |
May 30th 2016, 10:06 |
frzrr |
uuid ? |
# |
May 30th 2016, 10:06 |
ionas |
by hash key I meant |
# |
May 30th 2016, 10:06 |
ionas |
its not a good idea :p |
# |
May 30th 2016, 10:06 |
ionas |
urghâ?¦ I am trying to stay away for HABTM that is not very basic |
# |
May 30th 2016, 10:06 |
frzrr |
ionas: don't know how setting saveStragegy on the fly, never used hashkey, gotta read up on that |
# |
May 30th 2016, 10:05 |
frzrr |
but i only get the last array saved in the pivot table :/ |
# |
May 30th 2016, 10:05 |
frzrr |
that association should be saved as 2 when using saveStragegy append |
# |
May 30th 2016, 10:05 |
ionas |
it should always return true/false /thro exception) |
# |
May 30th 2016, 10:05 |
frzrr |
https://gist.github.com/anonymous/746ee5ab56cb5cf5e9a4550ce74b3eff |
# |
May 30th 2016, 10:05 |
frzrr |
ionas: weird, i know i've been able to save two of the same id before in the pivot table |