Forum: Ruby on Rails Database Views in Rails 2.2

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
D4d1f5fab34a12b8d341063385d5b484?d=identicon&s=25 tobstarr@gmail.com (Guest)
on 2008-11-17 15:22
(Received via mailing list)
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 "<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?

Thanx,

Tobi
This topic is locked and can not be replied to.