annotate db/migrate/105_build_projects_tree.rb @ 1021:967fb7e62b1d browsing

Include only public projects in busy institutions / projects queries, so results can be cached (the tag cloud was already public projects only). Introduce tentatively some cacheing thingies
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Tue, 13 Nov 2012 10:35:23 +0000
parents 513646585e45
children 433d4f72a19b
rev   line source
Chris@0 1 class BuildProjectsTree < ActiveRecord::Migration
Chris@0 2 def self.up
Chris@0 3 Project.rebuild!
Chris@0 4 end
Chris@0 5
Chris@0 6 def self.down
Chris@0 7 end
Chris@0 8 end