# |
Sep 27th 2016, 14:57 |
prophet |
I had several approaches. I see the most fitting in saving the association with the 'associated' option. I set 'associated' to ['Users']. My request->data looks like ['users' => '0' => ['rank', etc], '1' => 'rank', etc]. As you can see it is missing all other attributes of 'user'. |
# |
Sep 27th 2016, 14:54 |
ypnos |
did you try editing the join data? |
# |
Sep 27th 2016, 14:49 |
prophet |
two* |
# |
Sep 27th 2016, 14:49 |
prophet |
I have to tables (Associations, Users) connected with a 'through'-table (membership). The 'through'-table has an additional attribute 'rank'. I don't see how I can edit the rank. I can access the rank via '_joinData' field of 'users' of the association. |
# |
Sep 27th 2016, 14:44 |
ypnos |
I would like to create a template to be replicated in my view instead of having to mangle with it in javascript |
# |
Sep 27th 2016, 14:43 |
ypnos |
or do I need to maintain a strict numbering? (tags.0.id, tags.1.id, â?¦ etc)? |
# |
Sep 27th 2016, 14:43 |
ypnos |
is it possible to add to the array of tags? |
# |
Sep 27th 2016, 14:43 |
ypnos |
because I add inputs dynamically via javascript |
# |
Sep 27th 2016, 14:43 |
ypnos |
if I don't have a numbering, though |
# |
Sep 27th 2016, 14:42 |
ypnos |
normally the input identifiers look like "tags.0.id", "tags.0.name" etc. |
# |
Sep 27th 2016, 14:42 |
ypnos |
so I want to submit a form with array elements (hasMany) |
# |
Sep 27th 2016, 14:42 |
ypnos |
hello everybody |
# |
Sep 27th 2016, 14:17 |
inoas |
admad sometimes I really dislike the way you handle things |
# |
Sep 27th 2016, 14:15 |
crazycoder |
hmic, ^^ ? |
# |
Sep 27th 2016, 13:54 |
crazycoder |
i think i must implement Session.timeout |
# |
Sep 27th 2016, 13:52 |
crazycoder |
i think cake is setting something strange... |
# |
Sep 27th 2016, 13:52 |
crazycoder |
the auth component block me first |
# |
Sep 27th 2016, 13:51 |
crazycoder |
but it is not true! i mean... i am logged out before closing the browser |
# |
Sep 27th 2016, 13:51 |
crazycoder |
Lifetime in seconds of cookie or, if 0, until browser is restarted. <<<< |
# |
Sep 27th 2016, 13:51 |
crazycoder |
hmic, weird! i just checked the php.ini and i found it with 0 value |
# |
Sep 27th 2016, 13:50 |
crazycoder |
ok |
# |
Sep 27th 2016, 13:40 |
hmic |
i might be wrong, but i do account that to larrys strategy |
# |
Sep 27th 2016, 13:39 |
crazycoder |
i mean what is the point of setting it inside the app.php |
# |
Sep 27th 2016, 13:39 |
crazycoder |
so what is the point of changin that value if i must change it in the php.ini ? |
# |
Sep 27th 2016, 13:39 |
crazycoder |
i am using this |
# |
Sep 27th 2016, 13:39 |
crazycoder |
hmic, https://gist.github.com/anonymous/c5ac29462c8c876498ba22a466395bd1 |
# |
Sep 27th 2016, 13:38 |
hmic |
- i'm pissed! |
# |
Sep 27th 2016, 13:38 |
hmic |
but fragment the community and call that a good idea? |
# |
Sep 27th 2016, 13:38 |
hmic |
close down irc, force everybody to slack, account for the friction loss - i would be lost e.g. |
# |
Sep 27th 2016, 13:37 |
hmic |
it just fragments the community |
# |
Sep 27th 2016, 13:37 |
hmic |
what about slack? does it make anything better or easier? to whom? |
# |
Sep 27th 2016, 13:37 |
hmic |
who needs a new logo and branding? which developer does care about that? |
# |
Sep 27th 2016, 13:37 |
hmic |
on the other hand, the so called good decisions are completely pointless |
# |
Sep 27th 2016, 13:36 |
hmic |
dont get me wrong, i do like cake a lot, i really do! but there are lots of decisions that are bad. bad for the community and support |
# |
Sep 27th 2016, 13:35 |
hmic |
because its actually true! it's just plain bad management and communication |
# |
Sep 27th 2016, 13:35 |
hmic |
so why is the perception on these topics this bad on cake? |
# |
Sep 27th 2016, 13:35 |
hmic |
you need to hold on the promise which cake did not *again* |
# |
Sep 27th 2016, 13:35 |
hmic |
if you encourage ppl to upgrade seemlessly between minor versions |
# |
Sep 27th 2016, 13:34 |
hmic |
2.6 already was a major bc break, as 3.3 is |
# |
Sep 27th 2016, 13:34 |
hmic |
despite its numbering |
# |
Sep 27th 2016, 13:34 |
hmic |
which the current one does not |