Agile Web Development

Build it. Launch it. Love it.

Safety Net

Safety Net is a Rails plugin that prevents developers from deleting the test database if it has the same name as the development or production database.
Purging the poor innocent database is prevented in two ways:
1. By adding a prerequisite check to the rake script that normaly performs this task.
2. By modifying the fixtures method on ActiveRecord to avoid the same fate when running individual tests with the ruby command.

Vitals

Home http://www.apptrain.com
Repository svn://rubyforge.org/var/svn/apptrain/trunk/vendor/plugins/safety_net
License Rails' (MIT)
Tags Tag_red
Rating (1 vote)
Owner Michael Blake
Created 9 February 2007

Comments

Add a comment