lib/rails/generators/rails/app/templates/config/initializers/session_store.rb.tt in railties-3.2.22.5 vs lib/rails/generators/rails/app/templates/config/initializers/session_store.rb.tt in railties-4.0.0.beta1

- old
+ new

@@ -1,8 +1,3 @@ # Be sure to restart your server when you modify this file. -<%= app_const %>.config.session_store :cookie_store, <%= key_value :key, "'_#{app_name}_session'" %> - -# Use the database for sessions instead of the cookie-based default, -# which shouldn't be used to store highly confidential information -# (create the session table with "rails generate session_migration") -# <%= app_const %>.config.session_store :active_record_store +<%= app_const %>.config.session_store :encrypted_cookie_store, key: <%= "'_#{app_name}_session'" %>