Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Change generated code to replace faulty comment

  • Loading branch information...
commit ecf84b239f30e647b8bb12fb34f4569975bef4de 1 parent e311622
Carlhuda authored
View
2  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
View
2  railties/test/application/paths_test.rb
@@ -12,7 +12,7 @@ def setup
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]
Please sign in to comment.
Something went wrong with that request. Please try again.