Store different kind of actions (Like ❤️, Follow 👁, Star ⭐, Block ...) in one table via ActiveRecord Polymorphic Association.
- follow
- followers
- likes
- watch
47,133 repositories indexed
1–3 of 3 · Most stars
Store different kind of actions (Like ❤️, Follow 👁, Star ⭐, Block ...) in one table via ActiveRecord Polymorphic Association.
Simplified snapshots and restoration for ActiveRecord models and associations with a transparent white-box implementation
Rails tagging system that stores tags in a PostgreSQL array column or an SQLite JSON column – no join tables, no extra models, no N+1 queries.