Plugins - Safety Net

StarAdd to favorites

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.

Michael Blake

http://www.apptrain.com

svn://rubyforge.org/var/svn/apptrain/trunk/vendor/plugins/safety_net

Rails' (MIT)

  • Currently 5.0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Security

Tags

Comments

Add a comment

Search Plugins

Query syntax

Plugins by Category

Sponsors

Rails Kits: Get Code. Get Moving.

Have a comment?