view test/exemplars/repository_exemplar.rb @ 73:a7fa8dd0446f luisf

Added a description string to the user's description field, to make it more "informative".
author luisf
date Wed, 08 Dec 2010 17:03:29 +0000
parents 513646585e45
children cbb26bc654de
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