README.md in jsonb_accessor-0.3.3 vs README.md in jsonb_accessor-0.4.0.beta

- old
+ new

@@ -5,10 +5,11 @@ Adds typed `jsonb` backed fields as first class citizens to your `ActiveRecord` models. This gem is similar in spirit to [HstoreAccessor](https://github.com/devmynd/hstore_accessor), but the `jsonb` column in PostgreSQL has a few distinct advantages, mostly around nested documents and support for collections. ## Table of Contents * [Installation](#installation) +* [Rails 5](#rails-5) * [Usage](#usage) * [ActiveRecord Methods Generated for Fields](#activerecord-methods-generated-for-fields) * [Validations](#validations) * [Single-Table Inheritance](#single-table-inheritance) * [Scopes](#scopes) @@ -26,9 +27,13 @@ ``` And then execute: $ bundle install + +## Rails 5 + +Version 0.4.X will run on Rails 5, but behavior around type coercion for array and other collection field types behaves differently. When you upgrade to 0.4.X make sure you do not depend on subtle type coercion rules. ## Usage First we must create a model which has a `jsonb` column available to store data into it: