summaryrefslogtreecommitdiffstats
path: root/app/models/custom_field.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/custom_field.rb')
-rw-r--r--app/models/custom_field.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/models/custom_field.rb b/app/models/custom_field.rb
index ec8c5de8d..d14b67bdb 100644
--- a/app/models/custom_field.rb
+++ b/app/models/custom_field.rb
@@ -101,7 +101,8 @@ class CustomField < ApplicationRecord
'version_status',
'extensions_allowed',
'full_width_layout',
- 'thousands_delimiter'
+ 'thousands_delimiter',
+ 'ratio_interval'
)
def copy_from(arg, options={})
@@ -335,12 +336,12 @@ class CustomField < ApplicationRecord
args.include?(field_format)
end
- def self.human_attribute_name(attribute_key_name, *args)
+ def self.human_attribute_name(attribute_key_name, *)
attr_name = attribute_key_name.to_s
if attr_name == 'url_pattern'
attr_name = "url"
end
- super(attr_name, *args)
+ super(attr_name, *)
end
def css_classes