Forum: Ruby on Rails Database Views in Rails 2.2

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
on 2008-11-17 16:22
(Received via mailing list)

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 "<name>_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?


This topic is locked and can not be replied to.