From: Jean-Philippe Lang Date: Sat, 5 May 2012 09:39:38 +0000 (+0000) Subject: Do not trigger model validations when rebuilding the nested set (#10829). X-Git-Tag: 2.0.0~52 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=61a1fa1b6e29ecaec656e3e601ae0d298185cb68;p=redmine.git Do not trigger model validations when rebuilding the nested set (#10829). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9632 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/db/migrate/105_build_projects_tree.rb b/db/migrate/105_build_projects_tree.rb index 92799f97d..848436d20 100644 --- a/db/migrate/105_build_projects_tree.rb +++ b/db/migrate/105_build_projects_tree.rb @@ -1,6 +1,6 @@ class BuildProjectsTree < ActiveRecord::Migration def self.up - Project.rebuild! + Project.rebuild!(false) end def self.down