From 64af5d7f212e93ac483e6ef26a065e275ec30f42 Mon Sep 17 00:00:00 2001 From: Nick Carboni Date: Mon, 11 Feb 2019 10:28:17 -0500 Subject: [PATCH] Fix database connections page The AR method #order doesn't take a block. This was changed in 08c83427a6 --- app/controllers/ops_controller/db.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/ops_controller/db.rb b/app/controllers/ops_controller/db.rb index 70611fa06c6..a87e9a5f96d 100644 --- a/app/controllers/ops_controller/db.rb +++ b/app/controllers/ops_controller/db.rb @@ -26,7 +26,7 @@ def db_list(exp = nil) ] ) elsif model == VmdbDatabaseConnection - @zones = Zone.visible.order(&:name).collect { |z| [z.name, z.name] } + @zones = Zone.visible.order(:name).collect { |z| [z.name, z.name] } # for now we dont need this pulldown, need to get a method that gives us a list of workers for filter pulldown # @workers = MiqWorker.all.sort_by(&:type).collect { |w| [w.friendly_name, w.id] } end