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: 152,586 of 192,541
Downloads: 3,782
Daily
Ranking: 114,585 of 192,505
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,307,518,295 | rake |
| 14 | 1,204,559,235 | minitest |
| 36 | 784,795,748 | activerecord |
| 278 | 181,593,399 | sqlite3 |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | guipereira |