# |
Jun 29th 2017, 12:11 |
cake-novice |
yes i read about HABTM. its disaster for noive :D |
# |
Jun 29th 2017, 12:11 |
hmic |
you should *not* learn 2.x today, but invest the time in 3.x! |
# |
Jun 29th 2017, 12:10 |
hmic |
you need HABTM in 2.x, sure. but the queries will not be as easy |
# |
Jun 29th 2017, 12:10 |
cake-novice |
just learning with that project as its too old project... :) |
# |
Jun 29th 2017, 12:10 |
hmic |
my words still holds true. :p |
# |
Jun 29th 2017, 12:10 |
cake-novice |
i am working on cakephp2 old project... |
# |
Jun 29th 2017, 12:09 |
hmic |
you should not be learning cake2 now |
# |
Jun 29th 2017, 12:09 |
cake-novice |
yes |
# |
Jun 29th 2017, 12:09 |
cake-novice |
hmic, ys |
# |
Jun 29th 2017, 12:09 |
hmic |
you are talking cake2? |
# |
Jun 29th 2017, 12:08 |
cake-novice |
hmic, means hasAndBelongsToMany (HABTM). ? |
# |
Jun 29th 2017, 12:07 |
hmic |
belongsToMany |
# |
Jun 29th 2017, 12:07 |
steinkel |
@jay there's an ongoing issue with rackspace https://rackspace.service-now.com/system_status/ |
# |
Jun 29th 2017, 12:06 |
cake-novice |
hmic, i did not setup association . i am doing this now |
# |
Jun 29th 2017, 12:06 |
cake-novice |
hmic, thanx. which relation it will carry belongsto ? or other one ? |
# |
Jun 29th 2017, 12:04 |
jay |
http://docs.phinx.org/en/latest/ |
# |
Jun 29th 2017, 12:03 |
jay |
Phinx docs are down? How come? |
# |
Jun 29th 2017, 11:52 |
hmic |
btw. table names are plural, entities are singular... |
# |
Jun 29th 2017, 11:51 |
hmic |
if the associations in your tables are setup correctly |
# |
Jun 29th 2017, 11:51 |
hmic |
->contain('SalePerson') |
# |
Jun 29th 2017, 11:45 |
cake-novice |
hi, here i have two tables and third table joining the both table.. so i want to get 2nd table name field.. what behavior will come here https://pastebin.com/9E7Mx4V2 |
# |
Jun 29th 2017, 11:42 |
jarard |
I guess there is a way to configure the name of the field but no hardship for me to rename my field :) |
# |
Jun 29th 2017, 11:42 |
jarard |
dereuromark, I solved the issue, I just had to rename my 'slug' field on my group table to 'alias' to fix the issue |
# |
Jun 29th 2017, 11:31 |
robmorgan |
I'm just going to wait for Read the Docs to come back up again. For those in a rush: https://github.com/cakephp/phinx/tree/master/docs |
# |
Jun 29th 2017, 11:24 |
sebollson |
if it would be toIsoTimeString.... |
# |
Jun 29th 2017, 11:24 |
sebollson |
so no wonder it gives differen formats |
# |
Jun 29th 2017, 11:24 |
sebollson |
or browser locale |
# |
Jun 29th 2017, 11:24 |
sebollson |
probably using default sys locale |
# |
Jun 29th 2017, 11:23 |
hmic |
it has differnet output between OS locales too |
# |
Jun 29th 2017, 11:22 |
neon1024 |
TIL Javascript’s toTimeString() has different output on Windows vs Mac OS |
# |
Jun 29th 2017, 11:12 |
adityapansari |
may some one please help me ? |
# |
Jun 29th 2017, 11:02 |
dereuromark |
I dont have time right now to help, sry |
# |
Jun 29th 2017, 11:02 |
dereuromark |
you gotta find out why and maybe make a PR if you find the issue |
# |
Jun 29th 2017, 11:02 |
jarard |
changing it doesn't seem to have any impact tohugh |
# |
Jun 29th 2017, 11:02 |
jarard |
I see this config param: 'aliasColumn' => 'alias', |
# |
Jun 29th 2017, 10:56 |
neothermic |
@dereuromark Ahh, right :slightly_smiling_face: |
# |
Jun 29th 2017, 10:54 |
dereuromark |
the code of it and where it seems to still use the "wrong" field |
# |
Jun 29th 2017, 10:54 |
dereuromark |
Neo: I was talking about my plugin and its development in that major version |
# |
Jun 29th 2017, 10:53 |
jarard |
dereuromark, what are you suggesting that i debug? |
# |
Jun 29th 2017, 10:52 |
neothermic |
2.x isn't quite dead yet :P |
# |
Jun 29th 2017, 10:52 |
jarard |
it's a legacy project that I'm trying to apply this to, sadly using 2.x |