RubyGems Navigation menu

public_primary_key 0.1.0

It's often advantageous to use integer primary keys, but it may be disadvantageous to expose the size of your database to open internet. This gem makes it easy to continue using an integer primary key internally in your code, while displaying a more obscure public primary key that does not give clues to the size of your database to your users.

Gemfile:
=

install:
=

Versions:

  1. 0.1.0 June 10, 2017 (9.5 KB)

Runtime Dependencies (1):

activerecord > 4.0

Development Dependencies (4):

bundler ~> 1.14
minitest ~> 5.0
rake ~> 10.0
sqlite3 >= 0

Owners:

Authors:

  • Cyrus Stoller

SHA 256 checksum:

=

Total downloads 2,418

For this version 2,418

Version Released:

License:

MIT

Required Ruby Version: >= 0

Links: