Categories: None [Edit]

atomic_first_or_create

https://rubygems.org/gems/atomic_first_or_create
first_or_create does not guarantee uniqueness by itself, and if there is a uniqueness constraint on the database, it may fail with a RecordNotUnique exception. This gem adds atomic_first_or_create, which, in conjunction with a uniqueness constraint, provides the correct behaviour.

Total

Ranking: 152,195 of 188,802
Downloads: 3,685

Daily

Ranking: 80,626 of 188,779
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
101,202,966,022rake
141,127,857,902minitest
36741,279,806activerecord
276170,987,282sqlite3

Owners

#GravatarHandle
1iconguipereira