RailsConf 2015 - Rapid Data Modeling Using ActiveRecord and the JSON Data Type

1,021 views · Published 13 May 2015 · 40:16 · Indexed 6 November 2026

Channel: Confreaks · 2015 · Science & Technology

Watch on YouTube

by David Furber

So you are building an app that has a ton of forms each with tons of fields. Your heart sinks as you think of writing and managing all those models, migrations and associations. PostgreSQL JSON column and ActiveRecord::Store to the rescue! This talk covers a way to wrap these Rails 4 features to simplify the building of extensive hierarchical data models. You will learn to expressively declare schema-less attributes on your model that act much like “real" columns, meaning they are typecast, validated, query able, embeddable, and behave with Rails form builders.

More from this channel