Easily generate (almost definitely) unique IDs.
Add this line to your application's Gemfile:
gem 'barking_iguana-unique_id'
And then execute:
$ bundle
Or install it yourself as:
$ gem install barking_iguana-unique_id
require 'barking_iguana/unique_id'
BarkingIguana::UniqueId.generate # => "0.0.2-vi-8N2-1jOXzk-NRl-4LX8YS"
- Fork it ( https://github.com/[my-github-username]/barking_iguana-unique_id/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request