logo
首页技术栈工具库讨论
attr_json

attr_json

ActiveRecord attributes stored serialized in a json column, super smooth. For Rails 5.0, 5.1, or 5.2. Typed and cast like Active Record. Supporting nested models, dirty tracking, some querying (with postgres jsonb contains), and working smoothy with form builders. Use your database as a typed object store via ActiveRecord, in the same models right next to ordinary ActiveRecord column-backed attributes and associations. Your json-serialized attr_json attributes use as much of the existing ActiveRecord architecture as we can.
由 
bruceshi2021-01-13 收录
--
推荐
不推荐
更多信息
GitHub iconjrochkind/attr_json236
RUBYGEMS
gem install attr_json
查看
标签
根据用户添加的标签生成
暂无标签