aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/tasks
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-05-16 20:34:06 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-05-16 20:34:06 -0300
commit8941d5a36fb06211eb4672fec1169372602232ea (patch)
treee2fc7c826a90ee0b1dc7ee3679a736bb033c680b /railties/lib/rails/tasks
parent779ff5cdeb8aa1cffb112e0d40baa57b33a29844 (diff)
downloadrails-8941d5a36fb06211eb4672fec1169372602232ea.tar.gz
rails-8941d5a36fb06211eb4672fec1169372602232ea.tar.bz2
rails-8941d5a36fb06211eb4672fec1169372602232ea.zip
Generate the cookies_serializer configuration with :marshal when upgrading
We were generating this configuration with :json what may break applications upgrating from Rails 4.0-. Now we always generate with a safer value and people is free to choose hybrid if they want. We don't generate with hybrid by default because there are some cases that can fail. These cases are explained on the upgrading guide.
Diffstat (limited to 'railties/lib/rails/tasks')
-rw-r--r--railties/lib/rails/tasks/framework.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/tasks/framework.rake b/railties/lib/rails/tasks/framework.rake
index 3c8f8c6b87..a1c805f8aa 100644
--- a/railties/lib/rails/tasks/framework.rake
+++ b/railties/lib/rails/tasks/framework.rake
@@ -55,7 +55,7 @@ namespace :rails do
# desc "Update config/boot.rb from your current rails install"
task :configs do
invoke_from_app_generator :create_boot_file
- invoke_from_app_generator :create_config_files
+ invoke_from_app_generator :update_config_files
end
# desc "Adds new executables to the application bin/ directory"