Sequel Nanoid is a plugin for using nanoid in your Sequel models.
Install the gem and add to the application's Gemfile by executing:
$ bundle add sequel_nanoid
If bundler is not being used to manage dependencies, install the gem by executing:
$ gem install sequel_nanoid
Sequel.plugin :nanoid, field: :your_field # defaults to nanoid
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/sequel_nanoid. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.
The gem is available as open source under the terms of the MIT License.
Everyone interacting in the SequelNanoid project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.