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: 154,070 of 197,085
Downloads: 3,913
Daily
Ranking: 87,723 of 197,066
Downloads: 0
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 |
|---|---|---|
| 8 | 1,428,256,062 | rake |
| 14 | 1,310,230,254 | minitest |
| 37 | 845,746,438 | activerecord |
| 285 | 196,939,989 | sqlite3 |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | guipereira |