With the commit 3324e28804 ActiveRecord::SessionStore is extracted out of Rails into a gem ‘activerecord-session_store’. Setting config.session_store to :active_record_store will no longer work and will break if the activerecord-session_store gem isn’t available.

Read more at the source