Sha256: fd2eb839d2a9de462b6b8643164f64884986f76b6fd580d843861073332586ba
Contents?: true
Size: 601 Bytes
Versions: 3
Compression:
Stored size: 601 Bytes
Contents
# HasUuid Provides facilities to utilize UUIDs with ActiveRecord, including model and migration extensions. ## Installation Add this line to your application's Gemfile: gem 'has_uuid' And then execute: $ bundle Or install it yourself as: $ gem install has_uuid ## Usage In a migration: create_table "comments", :id => false, :force => true do |t| t.uuid "id", :primary_key => true t.uuid "post_id", :null => false end In a model: class Posts < ActiveRecord::Base include WithUuid::Model # ... end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
with_uuid-0.3.0 | README.md |
with_uuid-0.2.0 | README.md |
with_uuid-0.1.2 | README.md |