]> source.dussan.org Git - redmine.git/commitdiff
Do not trigger model validations when rebuilding the nested set (#10829).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 5 May 2012 09:39:38 +0000 (09:39 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 5 May 2012 09:39:38 +0000 (09:39 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9632 e93f8b46-1217-0410-a6f0-8f06a7374b81

db/migrate/105_build_projects_tree.rb

index 92799f97d3c231c0e92a3d17464b1ced02feaa53..848436d20538e19b4bd961782b02c3680f7d389f 100644 (file)
@@ -1,6 +1,6 @@
 class BuildProjectsTree < ActiveRecord::Migration
   def self.up
-    Project.rebuild!
+    Project.rebuild!(false)
   end
 
   def self.down