From bf06a4907992efa406f69d095f46053fb6dbb5ee Mon Sep 17 00:00:00 2001 From: lpichler Date: Mon, 3 Jul 2017 19:25:07 +0200 Subject: [PATCH] Follow up of https://github.com/ManageIQ/manageiq-schema/pull/28 After renaming, rename also related column for serializing. --- app/models/custom_button.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/custom_button.rb b/app/models/custom_button.rb index 122d6b6d54b..c961fcfcd6f 100644 --- a/app/models/custom_button.rb +++ b/app/models/custom_button.rb @@ -2,7 +2,7 @@ class CustomButton < ApplicationRecord has_one :resource_action, :as => :resource, :dependent => :destroy, :autosave => true serialize :options - serialize :applies_to_exp + serialize :visibility_expression serialize :enablement_expression serialize :visibility