RubyGems Navigation menu

hashid-rails 0.7.0

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:
= Copy to clipboard Copied!

instalar:
=

Versões:

  1. 1.4.1 - August 10, 2020 (12,5 KB)
  2. 1.4.0 - October 31, 2019 (11,5 KB)
  3. 1.3.0 - October 30, 2019 (11,5 KB)
  4. 1.2.2 - July 29, 2018 (11 KB)
  5. 1.2.1 - January 13, 2018 (10,5 KB)
  6. 0.7.0 - February 16, 2017 (9,5 KB)
Mostrar todas as versões (21)

Runtime Dependencies (2):

activerecord >= 4.0
hashids ~> 1.0

Development Dependencies (7):

bundler >= 0
byebug >= 0
rake >= 0
rspec ~> 3.4.0
rubocop >= 0
sqlite3 >= 0

Donos:

Autores:

  • Justin Cypret

SHA 256 checksum:

61c265252a3ca32db1c828b41b1c7643cf0a6461c011cd7e0679330e213f1081

Total de downloads 5.993.149

Desta versão 4.395

Licença:

MIT

Versão Requerida do Ruby: >= 0

Links: