Fix Rails 4 deprecation warnings for filter method

Rails 4 now requires a method name based on the filter type, i.e.
`before`, `after` or `around`.

This should probably go upstream too.