[Nitro] [PATCH] og-psql-refactoring

TRANS transfire at gmail.com
Sun Apr 9 13:31:18 EDT 2006


On 4/9/06, Bryan Soto <bryan.a.soto at gmail.com> wrote:
> On 4/9/06, TRANS <transfire at gmail.com> wrote:
> > Hi Bryan,
> >
> > I tried running the test suite myself and get this:
> >
> > .dropdb: database removal failed: ERROR:  database "test" does not exist
> > dropdb: database removal failed: ERROR:  database "test" does not exist
> > .dropdb: database removal failed: ERROR:  database "test" does not exist
> > dropdb: database removal failed: ERROR:  database "test" does not exist
> > ./test/og/tc_delete_all.rb:26: undefined method `manage_classes' for
> > nil:NilClass (NoMethodError)
> >         from -:14
> >
>
> In the checked out repo, there is a file, og\test\og\CONFIG.rb that
> needs to be edited with your connection settings, username, password,
> etc.
>
> Perhaps that's the problem?

Nah, I wrote CONFIG.rb ;-)  Although, its' a bit hackish --certainly
could use come improvements, the problem is Og.setup is returning nil
for some reason. What would cause Og.setup to return nil, rather that
raise an error? That seems odd.

> Devlab should be the repo now. I honestly didn't know repo.nitrohq.com
> was still around. George had mentioned previously that he was going to
> change the entry to point to devlab.

Ah, that's right. I think you mentioned something about that before. Cool.

T.




More information about the Nitro-general mailing list