aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/callbacks.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/lib/active_support/callbacks.rb')
-rw-r--r--activesupport/lib/active_support/callbacks.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/callbacks.rb b/activesupport/lib/active_support/callbacks.rb
index 9604777134..985f432c7b 100644
--- a/activesupport/lib/active_support/callbacks.rb
+++ b/activesupport/lib/active_support/callbacks.rb
@@ -323,8 +323,8 @@ module ActiveSupport
def merge_conditional_options(chain, if_option:, unless_option:)
options = {
- :if => @if.dup,
- :unless => @unless.dup
+ if: @if.dup,
+ unless: @unless.dup
}
options[:if].concat Array(unless_option)