I recently upgraded from Rails 3.2 to Rails 4. I am getting following error now:
/usr/share/rvm/gems/ruby-2.3.7@m3/gems/rubycas-client-2.3.10.rc1/lib/casclient/tickets/storage/active_record_ticket_store.rb:20:in 'initialize': undefined method 'session_class=' for ActiveRecord::SessionStore:Module (NoMethodError)
When I looked a bit into it, I found that for rails/activerecord-session_store, method of setting session has changed: Active record session store commit
As per #78, some folks can use it and others can not. Can someone confirm if this is compatible with Rails 4 (specifically Rails 4.0.8) and if yes, what steps are required to fix thee issue?
I recently upgraded from Rails 3.2 to Rails 4. I am getting following error now:
/usr/share/rvm/gems/ruby-2.3.7@m3/gems/rubycas-client-2.3.10.rc1/lib/casclient/tickets/storage/active_record_ticket_store.rb:20:in 'initialize': undefined method 'session_class=' for ActiveRecord::SessionStore:Module (NoMethodError)
When I looked a bit into it, I found that for
rails/activerecord-session_store
, method of setting session has changed: Active record session store commitBut, this gem hasn't updated it. The gem still uses following code: active record ticket store and storage
There is another gem for rubycas-client which uses something like this: mdsol | rubycas-client's storage
As per #78, some folks can use it and others can not. Can someone confirm if this is compatible with Rails 4 (specifically Rails 4.0.8) and if yes, what steps are required to fix thee issue?