using UUID as primary key in rails and polymorph relationships

Posted by Boris Barroso on Stack Overflow See other posts from Stack Overflow or by Boris Barroso
Published on 2010-04-16T16:19:57Z Indexed on 2010/04/16 16:23 UTC
Read the original article Hit count: 292

I'm creating a rails 3 application that will be decentralized and I need to use UUID as primary key for my tables, what would be the best gem, plugin for the Job. I also would like to know if it is possible to make in ActiveRecord polymorphic relationships without using the polymorphicable_type column for it, given the case that I'm using UUID.

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about activerecord