Safety Net plugin

Plugin details

Safety Net is a Rails plugin that prevents developers from purging the test database if it has the same name as the developmet or production database.

Websitehttp://www.apptrain.com/ Repositorysvn://rubyforge.org/var/svn/apptrain/trunk/vendor/plugins/safety_net Author AppTrain Corporation Tags Database, safety LicenseMIT

Documentation

Install the plugin:
ruby script/plugin install svn://rubyforge.org/var/svn/apptrain/trunk/vendor/plugins/safety_net

This is prevented in two ways.
1) By overriding the rake script that normaly performs this task.
2) By modifying the fixtures method on ActiveRecord to avoid the same fate when running test with the ruby command.

Further Documentation

There is currently no advanced documentation for this plugin.

New documentation

Edit plugin | (0 older versions) | Last edited by: hardway, about 1 year ago