Adding tags to content using Postgres’ JSONB in Rails

Опубликовано: 14 Май 2026
на канале: Rapid Ruby
1,157
62

In this episode I show you how to add tags to your posts using Postgres’ nifty JSONB column. I’ll show you how to add a find_by_tags helper to fetch all posts with a given tag.

Source code for this episode is available here: https://github.com/phawk/rapid_taggin...

---

Has this video helped you out? Consider buying me a coffee to say thanks and support future content like this, thanks!
https://app.payhere.co/rapid-ruby/buy...

You can also find more content like this, including premium courses and exclusive community and mentorship to help you level-up! Head over to https://rapidruby.com and use the code RRYOUTUBE for a discount!