Database Views in Rails 2.2


#1

Hi,

we have a problem upgrading from Rails 2.1.2 to Rails 2.2 because of
some Database Views (PostgreSQL) we use.

rake db:test:clone_structure

is copying the necessary Database Views to the test database. But when
I run rake test/spec I see the line

FATAL: database “_test” does not exist

every time I run rake test/spec. After running the tests the Views
which did exist after clone_structure do not exist any more.

Is there a way to fix this?

Thanx,

Tobi