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: 153,756 of 196,619
Downloads: 3,903
Daily
Ranking: 94,289 of 196,594
Downloads: 2
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,416,207,584 | rake |
| 14 | 1,299,534,904 | minitest |
| 37 | 838,814,166 | activerecord |
| 286 | 195,435,976 | sqlite3 |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | guipereira |