Ruby on Rails
Uses Guid Plugin
This plugin for ActiveRecord makes the “ID” field into a 22 character URL-safe GUID.
It is a mashup by Andy Singleton that includes
- the UUID class from Bob Aman’s UUIDtools
- the recommended ActiveRecord plugin skeleton
- the 22 character URL-safe format from Andy Singleton. If you don’t care about size you can edit it to return standard 36 char UUID formats instead
TO USE
- Install as a plugin in the rails directory vendor/plugin/guid
- define field ID as char(22)
- call “usesguid” in ActiveRecord class declaration, like:
class Mymodel < ActiveRecord::Base
usesguid
svn [which doesn’t work because authorization is required]:
http://tools.assembla.com/svn/breakout/breakout/vendor/plugins/guid
—
Try: http://tools.assembla.com/breakout/wiki/FreeSoftware
See also Plugins