RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

The Race Your Rails Validation Cannot Prevent

A source-backed explanation of why two Rails uniqueness validations can pass concurrently, how a composite unique index arbitrates the inserts, and how Active Record exposes the losing write.

https://railsrevelry.substack.com/p/the-race-your-rails-validation-cannot-prevent?r=4jsb&utm_source=rubyflow&utm_medium=referral&utm_campaign=rails_uniqueness_race

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in