rubycas / rubycas-server

Provides single sign-on authentication for web applications, implementing the server-end of Jasig's CAS protocol.
http://rubycas.github.com
Other
628 stars 270 forks source link

Fix error: undefined local variable or method `user_model' for CASServer... #224

Closed korun closed 10 years ago

korun commented 10 years ago

Hello! This PR contains fix for error:

undefined local variable or method `user_model' for CASServer::Authenticators::SQLEncrypted:Class (NameError)

See #219 for more.

mitfik commented 10 years ago

I had that feeling that something will break with that commit =] Thanks a lot for fast reaction. I will review again all sql_* authenticators to make sure that others are compatible.

davexunit commented 10 years ago

@mitfik My apologies for the breakage! I tried my best to avoid such things but I have failed. :( I hope that you still see the patch as an improvement overall.

Apologies and thanks to @korun for fixing this.