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,854 of 180,459
Downloads: 3,099
Daily
Ranking: 136,377 of 180,454
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 |
---|---|---|
16 | 853,643,152 | rake |
20 | 800,698,648 | minitest |
34 | 540,079,460 | activerecord |
238 | 132,481,642 | sqlite3 |
Owners
# | Gravatar | Handle |
---|---|---|
1 | guipereira |