datamapper_rails_templates.rb in datamapper4rails-0.3.1 vs datamapper_rails_templates.rb in datamapper4rails-0.3.2
- old
+ new
@@ -55,10 +55,10 @@
# init a session store
initializer 'datamapper_store.rb', <<-CODE
# init a session store which uses a memory cache and a persistent store
# cleanup can be a problem. jruby uses soft-references for the cache so
# memory cleanup with jruby is not a problem.
-require 'ixtlan/session'
+require 'datamapper4rails/datamapper_store'
ActionController::Base.session_store = :datamapper_store
ActionController::Base.session = {
:cache => true,
}
CODE