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: 150,960 of 183,147
Downloads: 3,360
Daily
Ranking: 51,220 of 183,139
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 |
---|---|---|
10 | 955,044,755 | rake |
19 | 896,351,773 | minitest |
35 | 596,623,208 | activerecord |
253 | 141,634,010 | sqlite3 |
Owners
# | Gravatar | Handle |
---|---|---|
1 | guipereira |