Registry / serialization / globalid

globalid

JSON →
library1.3.0rbrubygemsunverified

Provides URIs for your models, making it easy to pass references around in Rails.

gem install globalid
INSTALL
IMPORT
SIG · GLOBALID
G
globalid
serializationrubyv1.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

GlobalID
require 'globalid'

Generate a GlobalID for a model instance

require 'globalid' class User; include GlobalID::Identification; end user = User.new gid = user.to_global_id puts gid.to_s
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.3.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
globalid — gem install globalid · libregistry