diff options
author | Carlhuda <carlhuda@engineyard.com> | 2010-03-04 16:12:34 -0800 |
---|---|---|
committer | Carlhuda <carlhuda@engineyard.com> | 2010-03-04 16:12:34 -0800 |
commit | ecf84b239f30e647b8bb12fb34f4569975bef4de (patch) | |
tree | 7f8e835f2e9f48f4944489099ead5a989aac6113 | |
parent | e311622e7b20b3fdeab6a93418c8a45c6e7137b6 (diff) | |
download | rails-ecf84b239f30e647b8bb12fb34f4569975bef4de.tar.gz rails-ecf84b239f30e647b8bb12fb34f4569975bef4de.tar.bz2 rails-ecf84b239f30e647b8bb12fb34f4569975bef4de.zip |
Change generated code to replace faulty comment
-rw-r--r-- | railties/lib/generators/rails/app/templates/config/initializers/session_store.rb.tt | 2 | ||||
-rw-r--r-- | railties/test/application/paths_test.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/generators/rails/app/templates/config/initializers/session_store.rb.tt b/railties/lib/generators/rails/app/templates/config/initializers/session_store.rb.tt index edd2273fb0..9e32fb930e 100644 --- a/railties/lib/generators/rails/app/templates/config/initializers/session_store.rb.tt +++ b/railties/lib/generators/rails/app/templates/config/initializers/session_store.rb.tt @@ -7,4 +7,4 @@ Rails.application.config.session_store :cookie_store, { # 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 "rake db:sessions:create") -# Rails.application.config.action_dispatch.session_store = :active_record_store +# Rails.application.config.session_store :active_record_store diff --git a/railties/test/application/paths_test.rb b/railties/test/application/paths_test.rb index 89f74eb60b..d1192206dd 100644 --- a/railties/test/application/paths_test.rb +++ b/railties/test/application/paths_test.rb @@ -12,7 +12,7 @@ module ApplicationTests add_to_config <<-RUBY config.root = "#{app_path}" config.after_initialize do |app| - app.config.action_dispatch.session_store = nil + app.config.session_store nil end RUBY use_frameworks [:action_controller, :action_view, :action_mailer, :active_record] |