This gem provides an intuitive interface to define attributes on your ActiveModel class and save them in SSDB server.
- Upgrade
activerecord
dependency to support 5.0 - Change
after_commit
callback 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_attrs
to get multiple values from SSDB once to avoid multiple SSDB calls.