Is there a new way to call a method similar to
“update_without_callbacks” on an “after_save”?
I need to calculate a total amount on a row after the row has been
saved.
Is there a new way to call a method similar to
“update_without_callbacks” on an “after_save”?
I need to calculate a total amount on a row after the row has been
saved.
I believe update_attribute(:column, value) skips the callbacks.
It still creates a loop.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs