Sha256: ff52e3d2420fed0a6c6a412b5ac5cf8af941397ca3f490ee11b4ea892f735367
Contents?: true
Size: 473 Bytes
Versions: 1
Compression:
Stored size: 473 Bytes
Contents
Uuidify ======= Add UUIDs to existing ActiveRecord models. To install: rake uuidify:install:migrations rake db:migrate To enable on a specific model: class Foo < ActiveRecord::Base uuidify end To get/set uuids: Foo.new.uuid Foo.new.uuid = UUIDTools::UUID.timestamp_create To gc orphan records: Foo.garbage_collect_uuids # single model Uuidify.garbage_collect_uuids # everything, even if the model doesn't exist in the source
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
uuidify-0.3.0 | README.md |