aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2013-11-27 16:28:08 +0100
committerJulien Lancelot <julien.lancelot@sonarsource.com>2013-11-27 16:28:29 +0100
commit635f24beee0fc38ebfd4d100de305bd248e26425 (patch)
tree937f36d6e95f26ca52491793c3a6126423d7c803 /sonar-server
parent04410155ed90c145c865000275b88297e354f0a5 (diff)
downloadsonarqube-635f24beee0fc38ebfd4d100de305bd248e26425.tar.gz
sonarqube-635f24beee0fc38ebfd4d100de305bd248e26425.zip
SONAR-4831 Fix issue when dealing with removed rules
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/models/characteristic_property.rb2
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/models/quality_model.rb5
2 files changed, 4 insertions, 3 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/models/characteristic_property.rb b/sonar-server/src/main/webapp/WEB-INF/app/models/characteristic_property.rb
index d095232edf6..c407614bf37 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/models/characteristic_property.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/models/characteristic_property.rb
@@ -17,6 +17,8 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
+
+# TODO delete it
class CharacteristicProperty < ActiveRecord::Base
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/models/quality_model.rb b/sonar-server/src/main/webapp/WEB-INF/app/models/quality_model.rb
index 05bb61424fe..0e5a1e1fa7e 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/models/quality_model.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/models/quality_model.rb
@@ -17,9 +17,8 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
-class QualityModel < ActiveRecord::Base
- validates_length_of :name, :within => 1..100
- validates_uniqueness_of :name
+# TODO delete it
+class QualityModel < ActiveRecord::Base
end