1 2 3 4 5 6 7 8
class BuildProjectsTree < ActiveRecord::Migration def self.up Project.rebuild! end def self.down end end