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,396 of 196,619
Downloads: 6,444
Daily
Ranking: 112,090 of 196,594
Downloads: 1
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,749,482,850 | bundler |
| 7 | 1,431,827,091 | activesupport |
| 8 | 1,416,207,584 | rake |
| 29 | 1,020,353,632 | rspec |
| 37 | 838,814,166 | activerecord |
| 56 | 747,036,942 | rubocop |
| 63 | 701,080,041 | zeitwerk |
| 110 | 471,572,390 | pg |
| 153 | 342,806,372 | faker |
| 190 | 287,390,553 | pry-byebug |
| 2,574 | 8,408,539 | activerecord_json_validator |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | anm89 |