##// END OF EJS Templates
Rewrites UpdateMailNotificationValues migration to avoid model validations and failures....
Rewrites UpdateMailNotificationValues migration to avoid model validations and failures. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4368 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r2816:35333367dff6
r4254:73167fb4f26b
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