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 Fantham 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
thanks ilan