DmitryTsepelev / store_model

Work with JSON-backed attributes as ActiveRecord-ish models
MIT License
1.04k stars 85 forks source link

Update documentation to reflect behavior of `serialize_unknown_attributes` in v2.1.1+ #166

Closed osanay closed 5 months ago

osanay commented 5 months ago

While validating updates to the StoreModel, I encountered a change in behavior concerning the handling of unknown attributes during database storage operations. Specifically, I noticed that starting from version 2.1.1, the serialize_unknown_attributes option, when set to false, prevents unknown attributes from being stored in the database. Hence, I've updated the documentation.

DmitryTsepelev commented 5 months ago

Good catch, thank you :)