Categories: None [Edit]
json_sti
A common argument against STI in rails is that the tables eventually get cluttered with class specific columns. By keeping all subtype specific attrs in json, you completely avoid table bloat while keeping all the advantages of AR and a relational database
Total
Ranking: 117,088 of 196,338
Downloads: 6,440
Daily
Ranking: 51,088 of 196,320
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 |
|---|---|---|
| 1 | 3,687,515,579 | bundler |
| 7 | 1,416,844,709 | activesupport |
| 8 | 1,399,913,164 | rake |
| 29 | 1,013,199,560 | rspec |
| 37 | 829,932,541 | activerecord |
| 57 | 737,392,019 | rubocop |
| 63 | 690,539,120 | zeitwerk |
| 110 | 466,489,694 | pg |
| 152 | 339,360,536 | faker |
| 190 | 285,337,889 | pry-byebug |
| 2,584 | 8,253,823 | activerecord_json_validator |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | anm89 |