google-code-export / rubycas-client

Automatically exported from code.google.com/p/rubycas-client
1 stars 1 forks source link

rubycas-client support rails 2.3 . when cas-server (single-sign-out) must change `GI::Session::ActiveRecordStore` to | ActiveRecord::SessionStore | && `ActionController::Base.session_options[:database_manager]` to | ActionController::Base.session_store | #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.  when cas-server (single-sign-out)   need to change two class name
2. when you find the errors msg:   uninitialized constant CGI::Session,
you must change below code.

file: vendor/plugins/rubycas-client/lib/casclient/frameworks/rails/filter.rb
line#216: Using `ActiveRecord::SessionStore`  instead of
`GI::Session::ActiveRecordStore `;
line#217: Using  `ActionController::Base.session_store`  instead of 
`ActionController::Base.session_options[:database_manager]`
line#223:  Using 
`ActiveRecord::SessionStore::Session.find_by_session_id(session_id)`
        instead of
`CGI::Session::ActiveRecordStore::Session.find_by_session_id(session_id)`

What version of the product are you using? On what operating system?
rubycas-server: 0.7.0,  rubycas-client: 2.0.99, CentOS 5.0
two rails app using rails 2.0.4 && rails 2.3.2.

Please provide any additional information below.

-----good luck for you!

Original issue reported on code.google.com by hesenbr...@gmail.com on 4 Jun 2009 at 6:41

GoogleCodeExporter commented 9 years ago

Original comment by matt.zuk...@gmail.com on 22 Jul 2009 at 1:02

GoogleCodeExporter commented 9 years ago
http://github.com/gunark/rubycas-client/commit/577b260bf593616ade67415c175adbebb
6db186a

Original comment by matt.zuk...@gmail.com on 18 Aug 2009 at 5:56