Using non-traditional ActiveRecord ids

0 views
Skip to first unread message

Dev Purkayastha

unread,
Dec 16, 2009, 6:52:05 PM12/16/09
to Open Source Code Crunch
As we were discussing at the meeting. Non-traditional can be a string
or multiple fields or something other than the autoincremented id. I
found this:

http://compositekeys.rubyforge.org/

Beyond that, there might be plugins that talk about using a UUID or
GUID for the primary key, but I didn't find those yet. Any other links?

Rosalyn Metz

unread,
Dec 18, 2009, 2:47:41 PM12/18/09
to code-...@googlegroups.com
after some poking around i found this:

http://uuidtools.rubyforge.org/

Reply all
Reply to author
Forward
0 new messages