You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
NoMethodError: initialize': undefined method session_class=' for ActiveRecord::SessionStore:Module #96
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?
Activity
datalatics-official commentedon Nov 29, 2021
I hope this will resolve your issue: rails/activerecord-session_store@4ecd3f7#lib/action_dispatch/session/active_record_store.rb