before_filter => before_action
Update Gemfile.