diff options
author | Robin Dupret <robin.dupret@gmail.com> | 2017-05-21 21:34:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-21 21:34:47 +0200 |
commit | 0cbb130cf56812328f8aad305f2ef30c83ea33ad (patch) | |
tree | 31cd062e0e626ef978dfaadf4d6c1634ed4b985c /activejob/lib/active_job | |
parent | 36d53f557d6478cd47ca5134468b70d8a1303664 (diff) | |
parent | 4f3955657736796664aa8d6f6d149ef9b213b058 (diff) | |
download | rails-0cbb130cf56812328f8aad305f2ef30c83ea33ad.tar.gz rails-0cbb130cf56812328f8aad305f2ef30c83ea33ad.tar.bz2 rails-0cbb130cf56812328f8aad305f2ef30c83ea33ad.zip |
Merge pull request #29072 from dixpac/dixpac/add_documentation_for_validate_and_callback_order_of_execution
Improving docs for callbacks execution order [ci skip]
Diffstat (limited to 'activejob/lib/active_job')
-rw-r--r-- | activejob/lib/active_job/callbacks.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/activejob/lib/active_job/callbacks.rb b/activejob/lib/active_job/callbacks.rb index d5b17de8b5..9aebc880a5 100644 --- a/activejob/lib/active_job/callbacks.rb +++ b/activejob/lib/active_job/callbacks.rb @@ -4,7 +4,7 @@ module ActiveJob # = Active Job Callbacks # # Active Job provides hooks during the life cycle of a job. Callbacks allow you - # to trigger logic during the life cycle of a job. Available callbacks are: + # to trigger logic during this cycle. Available callbacks are: # # * <tt>before_enqueue</tt> # * <tt>around_enqueue</tt> @@ -13,6 +13,8 @@ module ActiveJob # * <tt>around_perform</tt> # * <tt>after_perform</tt> # + # NOTE: Calling the same callback multiple times will overwrite previous callback definitions. + # module Callbacks extend ActiveSupport::Concern include ActiveSupport::Callbacks |