Rails Cookbook - HVboom/HowTo-DigitalOcean GitHub Wiki
Receipt - use UUIDs
-
Tip found on blog.bigbinary.com
-
Add following lines to your
config/application.rb
# Use UUIDs instead of integer as primary keys config.generators do |g| g.orm :active_record, primary_key_type: :uuid end