Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
Update to use Mongoid session store
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahalingam committed Oct 10, 2017
1 parent bc58b77 commit 82f880a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Expand Up @@ -54,7 +54,7 @@ gem "non-stupid-digest-assets"
gem 'delayed_job_mongoid'
gem 'daemons'
gem 'time_difference'
gem 'activerecord-session_store'
gem 'mongo_session_store-rails4'

group :development, :test do
gem 'pry-byebug'
Expand Down
18 changes: 7 additions & 11 deletions Gemfile.lock
Expand Up @@ -93,12 +93,6 @@ GEM
activemodel (= 4.2.4)
activesupport (= 4.2.4)
arel (~> 6.0)
activerecord-session_store (1.1.0)
actionpack (>= 4.0, < 5.2)
activerecord (>= 4.0, < 5.2)
multi_json (~> 1.11, >= 1.11.2)
rack (>= 1.5.2, < 3)
railties (>= 4.0, < 5.2)
activesupport (4.2.4)
i18n (~> 0.7)
json (~> 1.7, >= 1.7.7)
Expand All @@ -111,7 +105,7 @@ GEM
area (0.10.0)
fastercsv (~> 1.5)
arel (6.0.4)
autoprefixer-rails (7.1.4.1)
autoprefixer-rails (7.1.5)
execjs
bcp47 (0.3.3)
i18n
Expand Down Expand Up @@ -201,7 +195,7 @@ GEM
multi_json
sprockets (>= 2.0.3)
tilt
hashdiff (0.3.6)
hashdiff (0.3.7)
highline (1.7.8)
hike (1.2.3)
http-cookie (1.0.3)
Expand Down Expand Up @@ -239,6 +233,8 @@ GEM
builder
minitest (>= 5.0)
ruby-progressbar
mongo_session_store-rails4 (6.0.0)
actionpack (>= 3.1)
mongoid (4.0.2)
activemodel (~> 4.0)
moped (~> 2.0.0)
Expand Down Expand Up @@ -382,7 +378,7 @@ GEM
unf_ext (0.0.7.4)
warden (1.2.7)
rack (>= 1.0)
webmock (3.0.1)
webmock (3.1.0)
addressable (>= 2.3.6)
crack (>= 0.3.2)
hashdiff
Expand All @@ -392,7 +388,6 @@ PLATFORMS

DEPENDENCIES
active_model_serializers
activerecord-session_store
addressable
autoprefixer-rails
bcp47
Expand All @@ -409,6 +404,7 @@ DEPENDENCIES
magic_lamp
minitest
minitest-reporters
mongo_session_store-rails4
mongoid (>= 4.0.0, < 5)
mongoid-history
nokogiri
Expand All @@ -433,4 +429,4 @@ DEPENDENCIES
webmock

BUNDLED WITH
1.16.0.pre.2
1.16.0.pre.3
2 changes: 1 addition & 1 deletion config/initializers/session_store.rb
@@ -1,3 +1,3 @@
# Be sure to restart your server when you modify this file.

Rails.application.config.session_store :active_record_store, :key => '_crucible_session'
Rails.application.config.session_store :mongoid_store, :key => '_crucible_session'

0 comments on commit 82f880a

Please sign in to comment.