Logidze v0.10.0 Release Notes
Release Date: 2019-05-15 // almost 5 years ago-
๐ Changes
- ๐ Ruby >= 2.4 is required
๐ Features
- ๐ฒ Added global configuration for
:ignore_log_data
option.
0๏ธโฃ Now it's possible to avoid loading
log_data
from the DB by default withLogidze.ignore\_log\_data\_by\_default = true
๐ฒ In cases when
ignore_log_data: false
is explicitly passed to theignore_log_data
the default setting is being overriden. Also, it's possible to change it inside the block:Logidze.with\_log\_data doPost.find(params[:id]).log\_dataend
PR #111
- ๐ฒ Added
#reset_log_data
API to nullifylog_data
column.
Now you can reset the history for a record (or records):
# for single recordrecord.reset\_log\_data# for relationUser.where(active: true).reset\_log\_data
PR #110