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,735 of 197,085
Downloads: 6,459
Daily
Ranking: 55,182 of 197,066
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,796,160,121 | bundler |
| 7 | 1,443,326,435 | activesupport |
| 8 | 1,428,256,062 | rake |
| 29 | 1,025,379,194 | rspec |
| 37 | 845,746,438 | activerecord |
| 55 | 754,099,562 | rubocop |
| 63 | 708,964,294 | zeitwerk |
| 110 | 475,509,226 | pg |
| 153 | 345,325,660 | faker |
| 190 | 288,924,298 | pry-byebug |
| 2,564 | 8,522,626 | activerecord_json_validator |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | anm89 |