This commit is contained in:
Alexey Nayden 2011-04-27 13:28:08 +04:00
parent 4f29a63296
commit 9458d18792
3 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@ class Platform < ActiveRecord::Base
validates :unixname, :uniqueness => true, :presence => true, :format => { :with => /^[a-zA-Z0-9\-.]+$/ }, :allow_nil => false, :allow_blank => false
before_create :xml_rpc_create
before_destroy :xml_rpc_destroy
#before_destroy :xml_rpc_destroy
before_update :check_freezing

View File

@ -9,9 +9,9 @@ class Project < ActiveRecord::Base
scope :recent, order("name ASC")
#before_create :create_directory, :create_git_repo
before_create :xml_rpc_create
before_destroy :xml_rpc_destroy
before_create :create_directory, :create_git_repo
#before_destroy :xml_rpc_destroy
# Redefining a method from Project::HasRepository module to reflect current situation
def git_repo_path

View File

@ -8,7 +8,7 @@ class Repository < ActiveRecord::Base
scope :recent, order("name ASC")
before_create :xml_rpc_create
before_destroy :xml_rpc_destroy
#before_destroy :xml_rpc_destroy
def path
build_path(unixname)