Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sistrall/scrambler_fu
Rails plugin to scramble the content of a table.
https://github.com/sistrall/scrambler_fu
Last synced: about 9 hours ago
JSON representation
Rails plugin to scramble the content of a table.
- Host: GitHub
- URL: https://github.com/sistrall/scrambler_fu
- Owner: sistrall
- License: mit
- Created: 2009-01-14T18:00:17.000Z (almost 16 years ago)
- Default Branch: master
- Last Pushed: 2010-03-18T14:02:38.000Z (almost 15 years ago)
- Last Synced: 2024-11-11T06:48:33.615Z (about 2 months ago)
- Language: Ruby
- Homepage: http://github.com/sistrall/scrambler_fu/tree/master
- Size: 102 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.textile
- License: MIT-LICENSE
Awesome Lists containing this project
README
h1. ScramblerFu
Basically: scrambles contents of tables.
h2. Usage case
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!
h2. Usage
Define a model as usable with this plugin with @acts_as_scramblable@
bc. class User < ActiveRecord::Base
acts_as_scramblable :email => :letters,
:name => :order,
:code => [:numbers, :letters]
endp. Than you can execute a task using rake:
bc. rake db:scramble
h2. Copyright and license
Copyright (c) 2009 Silvano Stralla, released under the MIT license