Notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
-
attr_json_config(bad_cast: :as_nil) to avoid raising on data that can't be cast to a AttrJson::Model, instead just casting to nil. jrochkind#95
-
Documented and tested support for using ActiveRecord serialize to map one AttrJson::Model to an entire column on it's own. jrochkind#89 and jrochkind#93
-
Better synchronization with ActiveRecord attributes when using rails_attribute:true, and a configurable true default_rails_attribute. Thanks @volkanunsal . jrochkind#94
- AttrJson::Model#== now requires same class for equality. And doesn't raise on certain arguments. jrochkind#90 Thanks @caiofilipemr for related bug report.
- not_jsonb_contains query method, like
jsonb_contains
but negated. jrochkind#85