All threads / MySQL 8 and Rails 7 JSON fields
Ask A Question


You’re not receiving notifications from this thread.

MySQL 8 and Rails 7 JSON fields

Joseph asked in Databases

Rails 7 and MySQL 8 support JSON fields. Migrations support them.

I have been using a combination of raw MySQL and other techniques to extract data. What's the proper ActiveRecord way of searching for fields in a JSON column (and updating as well)?

Are there any lessons that cover this?

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 68,326+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

    © 2022 GoRails, LLC. All rights reserved.