##// END OF EJS Templates
scm: mercurial: wrap revison, tag and branch with URL encoding for entries (#4455, #1981, #7246)....
scm: mercurial: wrap revison, tag and branch with URL encoding for entries (#4455, #1981, #7246). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4989 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r2816:35333367dff6
r4869:c3e8fc5f1a2d
Show More
tracker_exemplar.rb
9 lines | 179 B | text/x-ruby | RubyLexer
class Tracker < ActiveRecord::Base
generator_for :name, :method => :next_name
def self.next_name
@last_name ||= 'Tracker 0'
@last_name.succ!
@last_name
end
end