1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/test/abstract
Vitalii Khustochka edcccf4990 Only compute :only and :except callback conditions once
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
2020-04-06 11:51:30 +02:00
..
callbacks_test.rb Only compute :only and :except callback conditions once 2020-04-06 11:51:30 +02:00
collector_test.rb Module#{define_method,alias_method,undef_method,remove_method} become public since Ruby 2.5 2018-12-21 01:39:18 +09:00
translation_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00