README.md in pg_serializable-1.3.2 vs README.md in pg_serializable-1.4.0
- old
+ new
@@ -1,8 +1,8 @@
# PgSerializable
[![codecov](https://codecov.io/gh/matthewjf/pg_serializable/branch/master/graph/badge.svg)](https://codecov.io/gh/matthewjf/pg_serializable)
-[![Maintainability](https://api.codeclimate.com/v1/badges/a99a88d28ad37a79dbf6/maintainability)](https://codeclimate.com/github/codeclimate/codeclimate/maintainability)
+[![Maintainability](https://api.codeclimate.com/v1/badges/f3450fdd21d38e2a2fe6/maintainability)](https://codeclimate.com/github/matthewjf/pg_serializable/maintainability)
## Description
Serialize json directly from postgres (9.4+).
@@ -595,9 +595,13 @@
}
]
}
]
```
+
+### Single Table Inheritance
+
+It works with single table inheritance. Traits must be defined on each class individually.
## Without Rails
Rails isn't a dependency of this gem. However, setting it up to work without Rails takes some work. The `specs/support` folder has the initialization code needed to run the gem with just `ActiveSupport` and `ActiveRecord`.