From 0037ee72a58cbb5201818a8962e63eb83b8fc773 Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Sun, 15 May 2016 00:17:35 +0200 Subject: [PATCH] reorder env keys in the generated config/cable.yml Conventionally envs are ordered development -> test -> production. --- .../generators/rails/app/templates/config/cable.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/railties/lib/rails/generators/rails/app/templates/config/cable.yml b/railties/lib/rails/generators/rails/app/templates/config/cable.yml index aa4e832748cc7..0bbde6f74fe12 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/cable.yml +++ b/railties/lib/rails/generators/rails/app/templates/config/cable.yml @@ -1,10 +1,9 @@ -# Action Cable uses Redis by default to administer connections, channels, and sending/receiving messages over the WebSocket. -production: - adapter: redis - url: redis://localhost:6379/1 - development: adapter: async test: adapter: async + +production: + adapter: redis + url: redis://localhost:6379/1