Mercurial > hg > soundsoftware-site
view test/exemplars/.svn/text-base/issue_category_exemplar.rb.svn-base @ 351:ebf53b46f3f3 feature_123
Add the overview setting to the project settings. Still rather clumsy, but it does appear to work!
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Thu, 31 Mar 2011 18:20:16 +0100 |
parents | 513646585e45 |
children |
line wrap: on
line source
class IssueCategory < ActiveRecord::Base generator_for :name, :method => :next_name def self.next_name @last_name ||= 'Category 0001' @last_name.succ! @last_name end end