diff options
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. |