in [Rails 4](http://api.rubyonrails.org/classes/AbstractController/Callbacks/ClassMethods.html), the syntax is **before_action** enen though **before_filter** has not been deprecated yet.