-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing before
method when working with Rails 4.1.0-b1
#27
Comments
Absolutely,myself also suffering with the same problem.. |
Is that about the changes in Rails 4.1.0? Considering |
So to be clear: if instead of putting in all should be well? |
For anyone stuck with this problem, the before method seems to be missing from the filter class. You can use an older version of the rubycas-client or clone the master branch. The gem has not been updated with the bug fix |
I was stuck with this problem and ended up using the solution proposed by jimee02. But it took a little while to understand the solution: Remove rubycass-client-rails from your Gemfile and use the older, rubycas-client instead, specifiying you want the master branch as in the line above. Then follow the coniguration instructions in this older gem's doc. |
It's not about which one is older. If your Rails version is above 4.1, it needs the
|
Awesome, thanks! |
cool. it works for me . thanks @jimee02 |
When I put
before_filter RubyCAS::Filter
in my controller's script, it drops thatundefined method
before' for RubyCAS::Filter:Class`...I don't know why but
rubycas-client-rails
works just fine with Rails 4.0.2 in another app. Could you please help me to figure it out?The text was updated successfully, but these errors were encountered: