hashid-rails 1.2.1
This gem allows you to easily use [Hashids](http://hashids.org/ruby/) in your Rails app. Instead of your models using sequential numbers like 1, 2, 3, they will instead have unique short hashes like "yLA6m0oM", "5bAyD0LO", and "wz3MZ49l". The database will still use integers under the hood, so this gem can be added or removed at any time.
Gemfile:
=
複製
已複製
安裝:
=
Runtime 相依性套件 (2):
activerecord
>= 4.0
hashids
~> 1.0