Order of after_create callbacks

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

thanks ilan

On Tue, Mar 18, 2008 at 2:53 PM, Ilan B.
[email protected] wrote:

Jonzo.


Jonathan

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs