view test/exemplars/tracker_exemplar.rb @ 115:3e75f003034a luisf

Bug #60: + the "jump to project" input box is now below the search box + the project ancestors are displayed in a separate line
author luisf
date Wed, 12 Jan 2011 17:06:18 +0000
parents 513646585e45
children cbb26bc654de
line wrap: on
line source
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