prefer before_action to before_filter

before_filter  is not deprecated, but before_action is the Rails 4
convention