mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
edcccf4990
Ref: https://github.com/rails/rails/issues/38679 `_normalize_callback_options` mutates the options hash, but doesn't remove the `:only` and `:except` conditions. So if you call `before_action` & al with the same option hash you end up with multiple instance of identical `:if` / `:unless` procs |
||
---|---|---|
.. | ||
callbacks_test.rb | ||
collector_test.rb | ||
translation_test.rb |