News for hackers. Stuff that matters.
Re:Learning Ruby: Things I Like, Things I Miss from Python by gls2ro on Tuesday February 16, 2021 @06:25AM (#26152933)
In case of DB:

I think ActiveRecord has #lock (see https://api.rubyonrails.org/classes/ActiveRecord/Locking/Opt...) and that together with #transaction (https://api.rubyonrails.org/classes/ActiveRecord/Transaction...) are enough for my use cases.

In case of file uploads to cloud providers: there I don't know for specific method to help with race conditions when transforming the resources.

There are no comments on this comment yet.