diff options
| author | Luc Donnet | 2017-10-03 10:06:59 +0200 |
|---|---|---|
| committer | Luc Donnet | 2017-10-03 10:06:59 +0200 |
| commit | 92b1bd636928888477213321c7a7fecf8e873e46 (patch) | |
| tree | 42830665db71ee386df9672f50fae99850ba6fc3 /app/models/generic_attribute_control | |
| parent | b502f63089f93dc25fe61a18ef654b0dd27446be (diff) | |
| download | chouette-core-92b1bd636928888477213321c7a7fecf8e873e46.tar.bz2 | |
Fix dynamic_attributes in compliance_control STI Refs #2198
Diffstat (limited to 'app/models/generic_attribute_control')
| -rw-r--r-- | app/models/generic_attribute_control/min_max.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/generic_attribute_control/min_max.rb b/app/models/generic_attribute_control/min_max.rb index 0b0e5a9a7..452d1d889 100644 --- a/app/models/generic_attribute_control/min_max.rb +++ b/app/models/generic_attribute_control/min_max.rb @@ -2,7 +2,6 @@ module GenericAttributeControl class MinMax < ComplianceControl hstore_accessor :control_attributes, minimum: :integer, maximum: :integer - validate :min_max_values def min_max_values true @@ -11,9 +10,6 @@ module GenericAttributeControl class << self def default_criticity; :warning end def default_code; "3-Generic-2" end - def dynamic_attributes - hstore_metadata_for_control_attributes.keys - end end end end |
