Nov 04 2008
Rails Tip: Recreate database before test, not!
There is a lot of support to all my crazy projects given by Onoclea.com – a professional hosting service, crafted to fit you needs. Despite the great support I get from the team there are boundaries I cannot cross. One of them is no create/drop database permission for PostgreSQL. This restriction made a clash with Ruby On Rails test routine which is dropping test database without a warning. Luckily that was an easy fix to create. Now I want save your precious time sharing the tip. The only requirement is that you can have PL/pgSQL installed. (Ask your sysadmin if unsure)
Continue reading “Rails Tip: Recreate database before test, not!”
