From 61a1fa1b6e29ecaec656e3e601ae0d298185cb68 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 5 May 2012 09:39:38 +0000 Subject: [PATCH] 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 --- db/migrate/105_build_projects_tree.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5