diff options
| author | Robert | 2017-10-02 16:21:41 +0200 |
|---|---|---|
| committer | Robert | 2017-10-02 17:52:24 +0200 |
| commit | 4ecc20567d9e98b4647b163b43edbb27c06bf53a (patch) | |
| tree | d19fcab31f569fb0212f98bf111ebf301231c684 /app/models/compliance_control.rb | |
| parent | c4a2730dd1aa493989ceea7c162f39f2da73267b (diff) | |
| download | chouette-core-4ecc20567d9e98b4647b163b43edbb27c06bf53a.tar.bz2 | |
Refs: #4267@1.5h; ComplianceControlClassLevelDefaults
- All Specs and Factories implemented
- Fixing More Typos in dir/file names and incorrect module names; long live copy and paste
Diffstat (limited to 'app/models/compliance_control.rb')
| -rw-r--r-- | app/models/compliance_control.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/compliance_control.rb b/app/models/compliance_control.rb index 930d54fe8..0860f07b6 100644 --- a/app/models/compliance_control.rb +++ b/app/models/compliance_control.rb @@ -33,10 +33,6 @@ class ComplianceControl < ActiveRecord::Base self.name ||= self.class.name self.code ||= self.class.default_code self.origin_code ||= self.class.default_code - # TODO: Remove this very ambigous line, as a matter of fact it is never triggered - # **unless** `criticity` is **explicitly** set to nil, thusly bypassing the att's - # initialisation by `Enumerize`'s default. - self.criticity ||= self.class.default_criticity end end |
