summaryrefslogtreecommitdiffstats
path: root/app/models
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-04-07 08:07:43 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-04-07 08:07:43 +0000
commite9399e16d2ddca599289a328b0e4dfbe3b3fb64e (patch)
tree2a18c162720c8b372bbf5a398a1adfa6dd009581 /app/models
parent3aeb85bfd55f598ee7359cd01a1c3cc4440bd244 (diff)
downloadredmine-e9399e16d2ddca599289a328b0e4dfbe3b3fb64e.tar.gz
redmine-e9399e16d2ddca599289a328b0e4dfbe3b3fb64e.zip
fix typos of source comments at Project model
git-svn-id: http://svn.redmine.org/redmine/trunk@13075 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models')
-rw-r--r--app/models/project.rb6
1 files 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