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

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:

a7536e1521fd99b36f263d09d21a405123ee481c45897b3d9c930a78eb506f41

Total downloads 2,277

For this version 2,277

License:

MIT

Required Ruby Version: >= 0

Links: