Hacker News new | ask | show | jobs
by tomca32 2023 days ago
> Lots of good stuff in here, including much more support for using UUIDs as PKs.

I missed this. Going through the changelogs the only thing I found is support case-insensitivity for pg UUID types. Is that what you meant?

I really think that not supporting UUID PKs is one of biggest issues with Rails. You can go around it and maybe even use a gem for it, but that's still a bit risky.

2 comments

I use UUID PKs in Rails today. What support do you think it is missing?
I encountered several bugs, especially around generators and ActiveStorage, where code paths weren't respecting UUID primary keys.