Fix some rubocops errors

This commit is contained in:
Martin Lensment 2014-10-14 16:37:51 +03:00
parent 68b5391f06
commit 55aa7743b0
8 changed files with 66 additions and 65 deletions

View file

@ -4,12 +4,11 @@ class Setting < ActiveRecord::Base
has_many :domains, through: :domain_statuses
validates :code, uniqueness: { scope: :setting_group_id }
#dnskeys
# dnskeys
DS_ALGORITHM = 'ds_algorithm'
ALLOW_DS_DATA = 'allow_ds_data'
ALLOW_DS_DATA_WITH_KEYS = 'allow_ds_data_with_keys'
ALLOW_KEY_DATA = 'allow_key_data'
DNSKEYS_MAX_COUNT = 'dnskeys_max_count'
DNSKEYS_MIN_COUNT = 'dnskeys_min_count'
end