Re: Moving Cake Folder

2008-12-16 Thread Ed Howland
uot; and all projects share the >> cake files. >> >> I know how to do this for all new projects but is there anything i >> need to change in my existing project to work with the new setup? >> >> > > > > > -- Ed Howland http://greenprogrammer.bl

Re: Getting simpletest to work with test DB

2008-12-13 Thread Ed Howland
very > related model to add fixtures from. It only goes one level deep, you > need to manually add all the missing fixtures. > > -Mark > > On Dec 12, 5:53 pm, "Ed Howland" wrote: >> I forgot to mention that I am still getting the previous errors on

Re: Trouble with Model associations

2008-12-12 Thread Ed Howland
s >> information about the years. But like >> I said, I'm not sure... >> >> Best regards, >> >> -- >> MARCELO DE F. ANDRADE (aka "eleKtron") >> Belem, PA, Amazonia, Brazil >> Linux User #221105 >> >> [...@parĂ¡ ~]# l

Re: Getting simpletest to work with test DB

2008-12-12 Thread Ed Howland
I forgot to mention that I am still getting the previous errors on the Core/model tests. -- Ed Howland http://greenprogrammer.blogspot.com http://twitter.com/ed_howland --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: Getting simpletest to work with test DB

2008-12-12 Thread Ed Howland
s you want to load. So you can load a single fixture for that model's table and ignore any belongs_to or has_many associations. Ed On Fri, Dec 12, 2008 at 2:48 PM, Ed Howland wrote: > Ok, currently (nightly build 12/12/2008) I am seeing the following. > > First, I re-baked all models

Re: Getting simpletest to work with test DB

2008-12-12 Thread Ed Howland
ctation fails as key list [] does not match key list [0] at [/var/www/xeon/cake/tests/cases/libs/model/behaviors/containable.test.php line 113] ModelGroupTest -> /var/www/xeon/cake/tests/cases/libs/model/behaviors/containable.test.php -> ContainableTest -> testContainments Ed -- E

Re: Tip: ignoring tmp dirs in Subversion

2008-12-12 Thread Ed Howland
Also, what do you think about keeping the cake folder on a sep svn repos and using svn:externals to link it into your app. In our case it let us follow nightly builds w/o having to do the rsync shuffle above. Ed -- Ed Howland http://greenprogrammer.blogspot.com http://twitter.com/ed_howland

Re: Getting simpletest to work with test DB

2008-12-12 Thread Ed Howland
el = new Model(). I'm going to try the ClassRegistry.init route. Ed -- Ed Howland http://greenprogrammer.blogspot.com http://twitter.com/ed_howland --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP"

Re: Tip: ignoring tmp dirs in Subversion

2008-12-11 Thread Ed Howland
s are quite different. Also, we keep core.php (DEBUG=0) to be as close as possible to the final production env. Ed -- Ed Howland http://greenprogrammer.blogspot.com http://twitter.com/ed_howland --~--~-~--~~~---~--~~ You received this message because you are subscr

Re: Tip: ignoring tmp dirs in Subversion

2008-12-11 Thread Ed Howland
k a bug fix in unit tests. I did it by hand for each dir. That could have saved me some time! (Hey universe, can I have those last 30 minutes back?) Thanks for the tip. Ed -- Ed Howland http://greenprogrammer.blogspot.com http://twitter.com/ed_howland --~--~-~--~~~---

Re: Getting simpletest to work with test DB

2008-12-11 Thread Ed Howland
he group table is missing, in that case. Thanks for fixing the rest of them though. Ed -- Ed Howland http://greenprogrammer.blogspot.com http://twitter.com/ed_howland --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Tip: ignoring tmp dirs in Subversion

2008-12-11 Thread Ed Howland
On Thu, Dec 11, 2008 at 8:35 PM, brian wrote: > > On Thu, Dec 11, 2008 at 2:24 PM, Ed Howland wrote: >> >> Let me know if you have a different experience. >> > > As Marcus said, it'll be a different experience if the repository is > checked out on a *diff

Re: Tip: ignoring tmp dirs in Subversion

2008-12-11 Thread Ed Howland
On Thu, Dec 11, 2008 at 12:16 PM, Marcus wrote: > > On Dec 11, 6:40 pm, "Ed Howland" wrote: >> This always confused me. >> >> cd app >> svn up >> find tmp -type d | grep -v svn| xargs -L1 svn propset svn:ignore '*' >> svn commit -m &

Tip: ignoring tmp dirs in Subversion

2008-12-11 Thread Ed Howland
This always confused me. cd app svn up find tmp -type d | grep -v svn| xargs -L1 svn propset svn:ignore '*' svn commit -m "ignoring app/tmp in subversion" HTH someone Ed -- Ed Howland http://greenprogrammer.blogspot.com http://tw

Re: Getting simpletest to work with test DB

2008-12-11 Thread Ed Howland
t()? function start() { parent::start(); $this->Form = new TestForm(); } > Are you using ClassRegistry::init() or are you use new Model()? Tried both. But it came with new Model(); It seems like a DB connection issue, as Marcus said. I wonde

Re: Example working app w/tests

2008-12-10 Thread Ed Howland
lto:[EMAIL PROTECTED] On Behalf > Of Ed Howland > Sent: Thursday, December 11, 2008 10:26 AM > To: cake-php@googlegroups.com > Subject: Example working app w/tests > > > Hey does anyone have a sample app that works in RC3 with Unit tests? > Or know where one can be f

Example working app w/tests

2008-12-10 Thread Ed Howland
Hey does anyone have a sample app that works in RC3 with Unit tests? Or know where one can be found? Thanks Ed -- Ed Howland http://greenprogrammer.blogspot.com http://twitter.com/ed_howland --~--~-~--~~~---~--~~ You received this message because you are

Getting simpletest to work with test DB

2008-12-10 Thread Ed Howland
; 'bph_test', 'prefix' => '', ); But now every test reports Error: Database table forms for model Form was not found. The rest of the test aborts. Any idea what I am doing wrong? Thanks, Ed -- Ed Howland http://greenprogrammer.blogspot

Noob help with migrations add/drop coluumns

2008-12-08 Thread Ed Howland
I am writing a presentation on Cake and don't (necessarily want to use any plugins or custom code.) Thanks Ed -- Ed Howland http://greenprogrammer.blogspot.com http://twitter.com/ed_howland --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: How can I view the screencasts on Linux

2008-12-08 Thread Ed Howland
play in the little window). I might try to debug it with Firebug later, However, at the moment the cakephp.org servers seem to be down (again)! Thanks Ed -- Ed Howland http://greenprogrammer.blogspot.com http://twitter.com/ed_howland --~--~-~--~~~---~--~~ You re

Re: How can I view the screencasts on Linux

2008-12-07 Thread Ed Howland
On Sun, Dec 7, 2008 at 9:32 PM, Marcelo Andrade <[EMAIL PROTECTED]> wrote: > On Sun, Dec 7, 2008 at 10:09 PM, Ed Howland <[EMAIL PROTECTED]> wrote: >> >> I am having trouble playing the screencasts on the cakephp.org site. I >> am using Ubuntu 8.10 w/FF. >&

How can I view the screencasts on Linux

2008-12-07 Thread Ed Howland
I am having trouble playing the screencasts on the cakephp.org site. I am using Ubuntu 8.10 w/FF. Does anyone have any suggestions? Thanks Ed -- Ed Howland http://greenprogrammer.blogspot.com http://twitter.com/ed_howland --~--~-~--~~~---~--~~ You received

Re: Can/Should I use 1.2RC3 in a production environment

2008-12-07 Thread Ed Howland
ears old, I;d say it is mature enough for our use. After all I'm writing this on GMail(beta)! Thanks Ed -- Ed Howland http://greenprogrammer.blogspot.com http://twitter.com/ed_howland --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Can/Should I use 1.2RC3 in a production environment

2008-12-07 Thread Ed Howland
s but the main 1.2 > core > is stable enough to start development. > > And 1.2 is a big evolution over 1.1 version. > > > On Dec 7, 5:59 pm, "Ed Howland" <[EMAIL PROTECTED]> wrote: >> HI, cake noob here. I know 1.2 isn't stable yet, but does anyon

Can/Should I use 1.2RC3 in a production environment

2008-12-07 Thread Ed Howland
HI, cake noob here. I know 1.2 isn't stable yet, but does anyone have any experience or advice wrt usin 1.2RC3 in a production environment? We are migrating a Perl CGI project over to Cake and first decided to use 1.1 because of the stable tag on it. But if 1.2 is going stable in January/early '0