if I define this in a model:
after_create :process, :secondary_processing
can I assume that the callbacks are called in that particular order?
first process, then the secondary_processing.
Thanks,
Jonzo.
if I define this in a model:
after_create :process, :secondary_processing
can I assume that the callbacks are called in that particular order?
first process, then the secondary_processing.
Thanks,
Jonzo.
Jonathan F. wrote:
if I define this in a model:
after_create :process, :secondary_processing
can I assume that the callbacks are called in that particular order?
first process, then the secondary_processing.Thanks,
Jonzo.
Yes, correct, the callbacks are called in the order that they are
defined according to the rails api…
hth
ilan
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