summaryrefslogtreecommitdiffstats
path: root/app/models
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-12-04 04:22:59 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-12-04 04:22:59 +0000
commitee7685670d2938d4fa2b496d550885ba5f3d571d (patch)
tree30225f16875986f2bf19ac6bf51739333c1f95f7 /app/models
parent7082e1db9d36a4e0cec2ba56a9b1ef17933ea4d0 (diff)
downloadredmine-ee7685670d2938d4fa2b496d550885ba5f3d571d.tar.gz
redmine-ee7685670d2938d4fa2b496d550885ba5f3d571d.zip
remove trailing white-space from app/models/issue_category.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10941 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models')
-rw-r--r--app/models/issue_category.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/issue_category.rb b/app/models/issue_category.rb
index 385c0edb4..628f2686f 100644
--- a/app/models/issue_category.rb
+++ b/app/models/issue_category.rb
@@ -24,7 +24,7 @@ class IssueCategory < ActiveRecord::Base
validates_presence_of :name
validates_uniqueness_of :name, :scope => [:project_id]
validates_length_of :name, :maximum => 30
-
+
safe_attributes 'name', 'assigned_to_id'
scope :named, lambda {|arg| where("LOWER(#{table_name}.name) = LOWER(?)", arg.to_s.strip)}