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: 116,955 of 195,762
Downloads: 6,418
Daily
Ranking: 60,205 of 195,747
Downloads: 3
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,629,697,366 | bundler |
| 7 | 1,402,392,100 | activesupport |
| 8 | 1,384,293,602 | rake |
| 29 | 1,006,320,288 | rspec |
| 36 | 821,302,986 | activerecord |
| 57 | 728,179,197 | rubocop |
| 63 | 680,467,374 | zeitwerk |
| 110 | 461,668,575 | pg |
| 152 | 336,082,630 | faker |
| 189 | 283,275,706 | pry-byebug |
| 2,598 | 8,071,995 | activerecord_json_validator |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | anm89 |