# |
Dec 29th 2018, 12:38 |
asdfgh |
:D |
# |
Dec 29th 2018, 12:38 |
dereuromark |
^^ please read the beginner docs |
# |
Dec 29th 2018, 12:37 |
admad |
cake bake all |
# |
Dec 29th 2018, 12:36 |
asdfgh |
so if there is a magic command that bake the entire app will be better :D |
# |
Dec 29th 2018, 12:36 |
asdfgh |
i have more than 50 tables :D |
# |
Dec 29th 2018, 12:36 |
asdfgh |
dereuromark yes but i need to bake every single table? |
# |
Dec 29th 2018, 12:27 |
madbbb |
\Cake\I18n\FrozenDate::setToStringFormat('dd.MM.yyyy'); saved me. |
# |
Dec 29th 2018, 12:25 |
dereuromark |
its that easy |
# |
Dec 29th 2018, 12:25 |
dereuromark |
just connect the cake app to the db |
# |
Dec 29th 2018, 12:19 |
asdfgh |
guys ihave a model in mysqlworkbench now, how can i transform it for cake to let bake everything ? |
# |
Dec 29th 2018, 12:15 |
birdy247 |
preserveCompositeKeyIndex? |
# |
Dec 29th 2018, 12:15 |
birdy247 |
make it a config? |
# |
Dec 29th 2018, 12:15 |
birdy247 |
@admad ok, but how would I solve the assumption of which keys to remove? |
# |
Dec 29th 2018, 11:56 |
admad |
i don't use composite keys hence dont care :slightly_smiling_face: You can make a PR if you have a proper fix without assumptions you mentioned |
# |
Dec 29th 2018, 11:45 |
birdy247 |
@admad ? |
# |
Dec 29th 2018, 11:45 |
birdy247 |
for anyone using the duplicatable plugin |
# |
Dec 29th 2018, 11:45 |
birdy247 |
https://github.com/riesenia/cakephp-duplicatable/issues/37 |
# |
Dec 29th 2018, 10:49 |
madbbb |
Hello. Need help with Form->control() helper method. When I pass frozen date property in it and set type of control to text I get input field with date in form 12.12.18 how can I make it to show full 4 digit year inside? |
# |
Dec 29th 2018, 09:47 |
asdfgh |
thanks |
# |
Dec 29th 2018, 09:47 |
asdfgh |
ok i try |
# |
Dec 29th 2018, 09:47 |
challgren |
¯\_(ツ)_/¯ |
# |
Dec 29th 2018, 09:32 |
asdfgh |
challgran do you think if i call it "assessments" cake cannot recognize the relathionship ? |
# |
Dec 29th 2018, 09:31 |
asdfgh |
thanks challgren |
# |
Dec 29th 2018, 09:21 |
challgren |
agent_job_assessments IMHO |
# |
Dec 29th 2018, 09:20 |
asdfgh |
which follow the cake conventions? |
# |
Dec 29th 2018, 09:19 |
asdfgh |
agents_jobs_assessments or agent_job_assessments or agent_jobs_assessments |
# |
Dec 29th 2018, 09:19 |
asdfgh |
what name should i use? |
# |
Dec 29th 2018, 09:19 |
asdfgh |
i have these tables: agents, jobs, agents_jobs now i have to create something like agents_jobs_assessments so basically i table that is pointing to the PK of the agents_jobs table |
# |
Dec 29th 2018, 09:19 |
asdfgh |
hello |
# |
Dec 29th 2018, 08:18 |
admad |
there are plenty of examples in the test cases of the PR :slightly_smiling_face: |
# |
Dec 29th 2018, 08:16 |
admad |
as for allow empty read the code of the PR for e.g. ->notEmpty('title')` would be changed to `->allowEmptyString('title', false)` |
# |
Dec 29th 2018, 08:14 |
admad |
"and hasRendered is still used in render() call" no it's not in 4.x |
# |
Dec 29th 2018, 05:05 |
NickBusey |
Thanks :) |
# |
Dec 29th 2018, 04:58 |
challgren |
Good luck with your brewing and app! |
# |
Dec 29th 2018, 04:57 |
challgren |
Ahh that would be it! |
# |
Dec 29th 2018, 04:56 |
NickBusey |
thanks |
# |
Dec 29th 2018, 04:56 |
NickBusey |
Hmm actually, it looks like things may be working and the 404 is because the record was actually deleted and I didn't notice it |
# |
Dec 29th 2018, 04:54 |
challgren |
Im not very familiar with that plugin but it appears there's no query being sent to the database. But again Im not familiar with how that plugin works |
# |
Dec 29th 2018, 04:49 |
NickBusey |
https://pastebin.com/Yd7DdW5Y |
# |
Dec 29th 2018, 04:48 |
challgren |
Well your delete pastebin isn't complete so I cant really see the whole issue |
# |
Dec 29th 2018, 04:46 |
NickBusey |
Not sure what you mean, using the crud plugin so it is supposed to handle generating that |