2010-01-27 21:29:03 +03:00
|
|
|
class Changeset < ActiveRecord::Base
|
2011-09-23 00:51:42 +04:00
|
|
|
generator_for :revision, :start => '1'
|
2010-01-27 21:29:03 +03:00
|
|
|
generator_for :committed_on => Date.today
|
|
|
|
generator_for :repository, :method => :generate_repository
|
|
|
|
|
|
|
|
def self.generate_repository
|
|
|
|
Repository::Subversion.generate!
|
|
|
|
end
|
|
|
|
end
|