Sergio Tapiasergiotapia.comยทJun 5, 2024Using binary ids / UUIDs for database primary keys in Rails.It's generally a good idea to use binary ids / UUIds for the primary keys in your database. Here's how to easily do it in Rails 7, using Postgres! Configure your generators to use UUID for keys. Create a file in config/initializers/generators.rb Rail...40 readsRailsAdd a thoughtful commentNo comments yetBe the first to start the conversation.