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,186 of 197,258
Downloads: 3,915
Daily
Ranking: 93,637 of 197,235
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,434,061,178 | rake |
| 14 | 1,315,239,336 | minitest |
| 37 | 848,964,906 | activerecord |
| 285 | 197,646,337 | sqlite3 |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | guipereira |