Mercurial > hg > soundsoftware-site
view test/exemplars/.svn/text-base/repository_exemplar.rb.svn-base @ 254:0c9da2b87ad6 feature_80
Naively display download "active" status in downloads page, and allow sorting by it
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Thu, 03 Mar 2011 18:31:22 +0000 |
parents | 513646585e45 |
children |
line wrap: on
line source
class Repository < ActiveRecord::Base generator_for :type => 'Subversion' generator_for :url, :method => :next_url def self.next_url @last_url ||= 'file:///test/svn' @last_url.succ! @last_url end end