Displaying 1 result from an estimated 1 matches for "spatialadapter".
Did you mean:
spatial_adapter
2007 Oct 05
5
PostgreSQL, templates, and test databases
...tly
developing with Rails 1.2.3 and PostgreSQL, attempting to use test-first
development. Here''s the scenario:
* I have the usual three databases, with migrations. Testing has been
working beautifully.
* I need to store geographic data, so I add PostGIS to all three
databases (along with SpatialAdapter -- thanks, Guilhem!). Development
and production databases are happy.
* However, testing no longer works. Why? Because the test database is
always dropped and recreated -- so that all the PostGIS goodness goes
bye-bye before each round of tests.
It is not feasible to put the PostGIS infrastructur...