Sample Data Create VERSION 1


Use the Sample Data Create handle to generate Users, Companies or other data enteries. This handler leverages the [Faker gem v1.9.1. Visit faker's git repo for a list of the method that are supported.

Notes

Only method that have a "basic" types as parameters are supported. ie String, numbers or booleans. As an example Faker::Date.between(2.days.ago, Date.today) would not be supported because it requires complex parameters.

Only the feature provided as of v1.9.1 of the Faker library are supported.

The "uniqueness" feature provided by the Faker library is not available for use.


Parameters

NameDescription
Error HandlingDetermine what to return if an error is encountered.
FieldA Class name and method to generate a random output; ex Name.name. Visit stympy/faker on github (tag v1.9.1) for more examples.

Sample Configuration

NameDescription
Error HandlingError Message
FieldName.name

Results

NameSample Result
Handler Error MessageError message if an error was encountered and Error Handling is set to "Error Message".
outputThe data that was created.

Changelog

No Changelog Available.