b1c9475443
In Rails 4.2 and below, skipping callbacks (skip_before_action, skip_after_action, etc.) that use methods which do not exist will not throw any errors.
On the other hand, Rails 5 does. See https://github.com/rails/rails/pull/19029
After testing with Rails 5 I noticed there are some methods that don't actually exist (because they were renamed, usually), this fixes a few instances of those.
reject_blocked! was introduced in
|
||
---|---|---|
.. | ||
application_controller.rb | ||
groups_controller.rb | ||
projects_controller.rb | ||
snippets_controller.rb |