tags:

views:

21

answers:

3

Anyone know of a gem that will allow you to obscure/sanitize data?

Usecase: Download a production database, run some sanitation so that real customers won't get emails, cards charged etc.

A: 

Did you get a chance to search github.com and rubygems.org?

If not, then let you know, those are the major sites where projects/gems are located. Have a look at it, you may find what you are looking for.

Pran
A: 

Here's a rake task that looks like it does what you want. It looks simple enough that you could tweak it to your needs.

Jason M
A: 

You could use the forgery gem to replace the content of sensitive fields with randomly generated data.

ChristopheD