diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-11-15 12:36:39 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-11-15 12:36:39 +0000 |
commit | bc2d89c54b57d9cf72b77e1ee43cc37d1bf184ff (patch) | |
tree | a62200afdc84ee0143090191c8e3d60af87cbe44 /app/models/tracker.rb | |
parent | cafdf6a6f46557b61714e64f3dba35a180c0543c (diff) | |
download | redmine-bc2d89c54b57d9cf72b77e1ee43cc37d1bf184ff.tar.gz redmine-bc2d89c54b57d9cf72b77e1ee43cc37d1bf184ff.zip |
remove spaces inside {} of app/models/tracker.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20382 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/tracker.rb')
-rw-r--r-- | app/models/tracker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/tracker.rb b/app/models/tracker.rb index 2aa149c15..7bd5c9759 100644 --- a/app/models/tracker.rb +++ b/app/models/tracker.rb @@ -40,7 +40,7 @@ class Tracker < ActiveRecord::Base validates_length_of :name, :maximum => 30 validates_length_of :description, :maximum => 255 - scope :sorted, lambda { order(:position) } + scope :sorted, lambda {order(:position)} scope :named, lambda {|arg| where("LOWER(#{table_name}.name) = LOWER(?)", arg.to_s.strip)} # Returns the trackers that are visible by the user. |