I've released a small gem that provides a Random singleton class with a
series of methods for generating random test data including names,
mailing addresses, dates, phone numbers, e-mail addresses, and text.
This lets you quickly mock up realistic looking data for informal
testing.

Instead of:

>> foo.name = "John Doe"

You get:

>> foo.name = "#{Random.firstname} #{Random.initial} #{Random.lastname}"
>> foo.name
=> "Miriam R. Xichuan"

The gem also includes code for phone numbers, e-mail addresses, physical
addresses, and (primitive) text generation.

For more details and full documentation, visit:
http://random-data.rubyforge.org/

-Mike
-- 
Posted via http://www.ruby-forum.com/.