Categories: None [Edit]
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: 151,858 of 187,591
Downloads: 3,627
Daily
Ranking: 69,839 of 187,571
Downloads: 8
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 10 | 1,165,649,814 | rake |
| 15 | 1,089,701,321 | minitest |
| 36 | 719,592,156 | activerecord |
| 275 | 165,742,106 | sqlite3 |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | guipereira |