http://apidock.com/rails/activerecord/base/update_all/class
how mimic activerecord callback update_all, there way achieve this? docs not possible.
some info why need callbacks when doing 'update_all' helpful. maybe use database triggers that. or, if want reuse existing ruby code , not crucial have immediate effect process updated records background ruby process.
Comments
Post a Comment