Skip to content
Snippets Groups Projects
Unverified Commit 7d8fcbd7 authored by Connor Shea's avatar Connor Shea
Browse files

Replace reject_blocked with reject_blocked! in callbacks.

In Rails 4.2 and below, callbacks (before_action, 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 c9def945, I can't find any references to reject_blocked ever existing.
parent f6063bae
No related branches found
No related tags found
Loading
Pipeline #
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment