Does anyone know how can I execute some bit of code after transaction
wrapping up activerecord update/save methods completed?
after_update and after_save filters are both wrapped into the same
transaction, and I need to make external service (druby) aware of
changes immediately after changes were made. Now - I use separate
thread and sleep(1) in druby service to make it see changes, but it’s
not good enough solution. Any ideas how can do it?