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
This commit is contained in:
parent
1ab261dda6
commit
61a1fa1b6e
|
@ -1,6 +1,6 @@
|
||||||
class BuildProjectsTree < ActiveRecord::Migration
|
class BuildProjectsTree < ActiveRecord::Migration
|
||||||
def self.up
|
def self.up
|
||||||
Project.rebuild!
|
Project.rebuild!(false)
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.down
|
def self.down
|
||||||
|
|
Loading…
Reference in New Issue