From e9399e16d2ddca599289a328b0e4dfbe3b3fb64e Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Mon, 7 Apr 2014 08:07:43 +0000 Subject: [PATCH] fix typos of source comments at Project model git-svn-id: http://svn.redmine.org/redmine/trunk@13075 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/project.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/models/project.rb b/app/models/project.rb index 7f8dcb34a..6ced34565 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -26,7 +26,7 @@ class Project < ActiveRecord::Base # Maximum length for project identifiers IDENTIFIER_MAX_LENGTH = 100 - # Specific overidden Activities + # Specific overridden Activities has_many :time_entry_activities has_many :members, :include => [:principal, :roles], :conditions => "#{Principal.table_name}.type='User' AND #{Principal.table_name}.status=#{Principal::STATUS_ACTIVE}" has_many :memberships, :class_name => 'Member' @@ -74,7 +74,7 @@ class Project < ActiveRecord::Base validates_length_of :name, :maximum => 255 validates_length_of :homepage, :maximum => 255 validates_length_of :identifier, :in => 1..IDENTIFIER_MAX_LENGTH - # donwcase letters, digits, dashes but not digits only + # downcase letters, digits, dashes but not digits only validates_format_of :identifier, :with => /\A(?!\d+$)[a-z0-9\-_]*\z/, :if => Proc.new { |p| p.identifier_changed? } # reserved words validates_exclusion_of :identifier, :in => %w( new ) @@ -847,7 +847,7 @@ class Project < ActiveRecord::Base # Copies issues from +project+ def copy_issues(project) # Stores the source issue id as a key and the copied issues as the - # value. Used to map the two togeather for issue relations. + # value. Used to map the two together for issue relations. issues_map = {} # Store status and reopen locked/closed versions