##// END OF EJS Templates
PDF: add test of replacing converting error characters in FPDF ANSI on Ruby 1.8 (#61)....
PDF: add test of replacing converting error characters in FPDF ANSI on Ruby 1.8 (#61). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5352 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r3226:9044305b9335
r5232:5eea9ec61a68
Show More
document_exemplar.rb
9 lines | 188 B | text/x-ruby | RubyLexer
class Document < ActiveRecord::Base
generator_for :title, :method => :next_title
def self.next_title
@last_title ||= 'Document001'
@last_title.succ!
@last_title
end
end