README.md in uniqueness-0.6.1 vs README.md in uniqueness-0.7.0
- old
+ new
@@ -59,9 +59,13 @@
`:blacklist` characters to exclude when generating the random string, defaults to __[]__
`:scope` scopes, defines the `ActiveRecord` `scope` applied before calculating the `position` field value. Defaults to __[]__
+To generate a unique-random on the fly `Uniqueness.generate` that will produce a random field for you.
+
+You can also pass some options `Uniqueness.generate(type: :human)`.
+
## Development
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).