Skip to content
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

rubycas-server is breaking the ActiveSupport 4.0 build #29

Open
hannahwhy opened this issue Aug 21, 2013 · 1 comment
Open

rubycas-server is breaking the ActiveSupport 4.0 build #29

hannahwhy opened this issue Aug 21, 2013 · 1 comment

Comments

@hannahwhy
Copy link
Contributor

The version of rubycas-server that Aker uses for its integration tests can no longer be run using ActiveRecord 4.0 (which, in turn, needs ActiveSupport 4.0). We get this:

  undefined method `set_table_name' for #<Class:0x007fa27d86bce0> (NoMethodError)
gems/ruby-1.9.3-p448/gems/activerecord-4.0.0/lib/active_record/dynamic_matchers.rb:22:in `method_missing'
gems/ruby-1.9.3-p448/bundler/gems/rubycas-server-cedf6cd676e3/lib/casserver/model.rb:56:in `<class:LoginTicket>'
gems/ruby-1.9.3-p448/bundler/gems/rubycas-server-cedf6cd676e3/lib/casserver/model.rb:55:in `<module:Model>'
gems/ruby-1.9.3-p448/bundler/gems/rubycas-server-cedf6cd676e3/lib/casserver/model.rb:4:in `<top (required)>'

Two solutions:

  1. Use something that isn't RubyCAS-Server.
  2. Fix RubyCAS-Server to work with ActiveRecord 4.0. (We have our own fork.)
@hannahwhy
Copy link
Contributor Author

  1. Use something that isn't RubyCAS-Server.

#30 is one possibility. Using Jasig CAS (i.e. via castanet-testing) is another.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant