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,855 of 193,756
Downloads: 6,202
Daily
Ranking: 71,816 of 193,649
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,494,238,297 | bundler |
| 7 | 1,367,928,484 | activesupport |
| 8 | 1,345,947,699 | rake |
| 29 | 989,540,006 | rspec |
| 36 | 801,545,420 | activerecord |
| 56 | 705,297,141 | rubocop |
| 63 | 657,585,142 | zeitwerk |
| 108 | 449,486,157 | pg |
| 152 | 327,727,392 | faker |
| 186 | 277,976,930 | pry-byebug |
| 2,625 | 7,658,245 | activerecord_json_validator |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | anm89 |