I'm sure this is something really dumb that I'm doing but I can't figure out why I'm getting the error: undefined method `Filter' for RubyCAS:Module when I hit my controller /categories in test environ (e.g. rails s )
I went through the docs for RubyCAS on github and I've defined my CAS server in config/application.rb as config.rubycas.cas_base_url = "http-path-to-my-cas-server"
class CategoriesController < ApplicationController
before_action :set_category, only: [:show, :edit, :update, :destroy]
before_filter RubyCAS::Filter only: [:edit,:update,:destroy]
Can someone please point me in the right direction?