Basically: scrambles contents of tables.
Say you have a dump of your real DB that you want to take home with you from work. In the same time you really don’t want to have trouble with privacy, private data and similar.
After a scramble you’ll have your DB full of random data. Problem solved!
Define a model as usable with this plugin with acts_as_scramblable
class User < ActiveRecord::Base
acts_as_scramblable :email => :letters,
:name => :order,
:code => [:numbers, :letters]
end
Than you can execute a task using rake:
rake db:scramble
Copyright © 2009 Silvano Stralla, released under the MIT license