Closed robertpyke closed 12 years ago
I should add that I modified my local copy of this gem based on what I mentioned above, and it fixed the problem for me.
same problem here. solution in pull request https://github.com/rubycas/rubycas-client-rails/pull/5
pull request 5 is in
When trying to use the code before_filter RubyCAS::GatewayFilter
I get the following error: uninitialized constant RubyCAS::GatewayFilter
I think is because the GatewayFilter is incorrectly nested.
I believe that the Filter class isn't closed (ended) until after the GatewayFilter is defined. i.e. the GatewayFilter is an inner class of Filter.
A better way of me showing this is to look at the code at the bottom of the rubycas-client-rails.rb file:
The code that looks like it closing the Filter class, is actually closing the "class << self" code within Filter.