This gem provides an intuitive interface to define attributes on your ActiveModel class and save them in SSDB server.
- Upgrade
activerecorddependency to support 5.0 - Change
after_commitcallback to useafter_create&after_save
- Add
SSDBAttr.load_attrs(objects, *fields)to load multiple attrs for multiple same objects at one time.
- Add
load_ssdb_attrsto get multiple values from SSDB once to avoid multiple SSDB calls.