-
Notifications
You must be signed in to change notification settings - Fork 9
Home
Andrew Geweke edited this page Dec 19, 2013
·
12 revisions
Schema-free, structured storage inside a RDBMS. Use a VARCHAR
, TEXT
, CLOB
, BLOB
, or BINARY
column in your schema to store structured data in JSON, while still letting you run validations against that data, build methods on top of it, and automatically delegate it to your models. Far more powerful than ActiveRecord's built-in serialization mechanism, flex_columns
gives you the freedom of schemaless databases inside a proven RDBMS.
- Why use
flex_columns
? What does it do? - What
flex_columns
is NOT good for - Introduction: installation, usage, migrating existing JSON columns
- Data Control: using validations, using "types", ways you can access data, column compression, JSON aliases, unknown JSON keys, column NULLability, when JSON is written
- Method Semantics: defining custom methods, overriding methods, controlling method delegation, making methods private, including columns across tables
- API: bulk operations, notifications
- Support Matrix, Running Specs