diff options
author | Fabrice Bellingard <bellingard@gmail.com> | 2012-03-28 10:43:30 +0200 |
---|---|---|
committer | Fabrice Bellingard <bellingard@gmail.com> | 2012-03-28 10:43:30 +0200 |
commit | 951baafb0e59ece643cefd2317582da5609abed6 (patch) | |
tree | 5f2513a480dff87c7b8f3836fee19b98f5da357b /sonar-server | |
parent | 977e7986b207083ade7b60a91268f6772f8afaf2 (diff) | |
parent | 7d68d5d2cbcb76fbdc94f5560017f3f1b56ebf07 (diff) | |
download | sonarqube-951baafb0e59ece643cefd2317582da5609abed6.tar.gz sonarqube-951baafb0e59ece643cefd2317582da5609abed6.zip |
Merge branch 'current'
Diffstat (limited to 'sonar-server')
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/models/rule.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/models/rule.rb b/sonar-server/src/main/webapp/WEB-INF/app/models/rule.rb index c64a12f17bf..51d6df0a5fa 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/models/rule.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/models/rule.rb @@ -21,7 +21,7 @@ class Rule < ActiveRecord::Base MANUAL_REPOSITORY_KEY = 'manual' - validates_presence_of :name, :plugin_name + validates_presence_of :name, :description, :plugin_name validates_presence_of :plugin_rule_key, :if => 'name.present?' has_many :rules_parameters |