# |
Sep 22nd 2011, 14:10 |
NetersLandreau |
git checkout -b 2.0-dev origin/2.0-dev |
# |
Sep 22nd 2011, 14:09 |
NetersLandreau |
ujjain: cakedc's sluggable behavior? there is a 2.0-dev branch in that repo |
# |
Sep 22nd 2011, 14:09 |
TehTreag |
asmerkin: cake bake Plugin.Model |
# |
Sep 22nd 2011, 14:08 |
asmerkin |
D |
# |
Sep 22nd 2011, 14:08 |
asmerkin |
i found the issue |
# |
Sep 22nd 2011, 14:08 |
ujjain |
Most Cake 1.3 behaviors like sluggable won't work with 2.0, will they? |
# |
Sep 22nd 2011, 14:07 |
asmerkin |
TehTreag: doesn't work |
# |
Sep 22nd 2011, 14:07 |
Terk |
ujjain: ok |
# |
Sep 22nd 2011, 14:06 |
ujjain |
Terk: I use vim |
# |
Sep 22nd 2011, 14:05 |
TehTreag |
ujjain: ^^ |
# |
Sep 22nd 2011, 14:05 |
TehTreag |
asmerkin: It's a php issue... shouldn't matter which CakePHP. |
# |
Sep 22nd 2011, 14:05 |
asmerkin |
I'm using Cake 2 RC2 by the way |
# |
Sep 22nd 2011, 14:05 |
Terk |
ujjain: php editor? |
# |
Sep 22nd 2011, 14:05 |
asmerkin |
TehTreag: cake bake plugin wines controller |
# |
Sep 22nd 2011, 14:05 |
ujjain |
Terk: Yeah, I did not see a whitespace after ?>, but maybe there was, dont know why it works locally though then. |
# |
Sep 22nd 2011, 14:05 |
asmerkin |
TehTreag: i'm doing that ... but it doesn't work |
# |
Sep 22nd 2011, 14:04 |
TehTreag |
~tell ujjain about whitespace |
# |
Sep 22nd 2011, 14:04 |
ujjain |
I removed ?> from models/behaviours/slugglable.php |
# |
Sep 22nd 2011, 14:04 |
ujjain |
Ok, I edited the plugin, it works now. |
# |
Sep 22nd 2011, 14:03 |
diverdude |
TehTreag, Would these tables: http://bin.cakephp.org/view/349873806 work together with this method http://book.cakephp.org/view/1547/Acts-As-a-Requester ? |
# |
Sep 22nd 2011, 14:03 |
TooMuchCaffeine |
hi |
# |
Sep 22nd 2011, 14:02 |
TehTreag |
asmerkin: Sure, specify -plugin on the command line. |
# |
Sep 22nd 2011, 14:02 |
ujjain |
Ubuntu = dev |
# |
Sep 22nd 2011, 14:02 |
ujjain |
Terk: Ubuntu 11.04, CentOS 5.6 |
# |
Sep 22nd 2011, 14:02 |
Terk |
ujjain: development os? |
# |
Sep 22nd 2011, 14:02 |
asmerkin |
fenix`: i don't, but i wanna them baked |
# |
Sep 22nd 2011, 14:02 |
TehTreag |
diverdude: Ok. |
# |
Sep 22nd 2011, 14:02 |
ujjain |
ADmad: I know, but I am using plugins, and the code is the same on multiple servers, I don't think I am supposed to edit the code of the plugins. |
# |
Sep 22nd 2011, 14:02 |
fenix` |
asmerkin: model files really aren't hard to code manually. |
# |
Sep 22nd 2011, 14:01 |
asmerkin |
but it doesn't work |
# |
Sep 22nd 2011, 14:01 |
asmerkin |
i've tried cake bake plugin <pluginname> model |
# |
Sep 22nd 2011, 14:01 |
ADmad |
ujjain: the point of error messages is to actually read them and act upon it |
# |
Sep 22nd 2011, 14:01 |
asmerkin |
is there a way of baking plugin models? |
# |
Sep 22nd 2011, 14:01 |
ujjain |
I used to do programming on the server, now I prefer doing it locally. |
# |
Sep 22nd 2011, 14:01 |
ujjain |
I have my own ESXi server. |
# |
Sep 22nd 2011, 14:00 |
fenix` |
i do all my development in VI. |
# |
Sep 22nd 2011, 14:00 |
fenix` |
ujjain: you need to move to a vps, not having to move files up and down is a godsend. |
# |
Sep 22nd 2011, 13:59 |
fenix` |
ah |
# |
Sep 22nd 2011, 13:59 |
ujjain |
and upload the files via FTP when ready. |
# |
Sep 22nd 2011, 13:59 |
ujjain |
fenix`: I program my site on a local server on my workstation (developemtn). |
# |
Sep 22nd 2011, 13:59 |
diverdude |
TehTreag, i think maybe this is what i was looking for: http://book.cakephp.org/view/1547/Acts-As-a-Requester |