From 18da6cde280a0a3174584a1eb0aa673ddaeced4b Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 3 Oct 2020 15:36:12 +0000 Subject: [PATCH] remove spaces inside {} of app/models/group.rb git-svn-id: http://svn.redmine.org/redmine/trunk@20110 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/group.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/group.rb b/app/models/group.rb index 1460e0ee5..2a1c2566d 100644 --- a/app/models/group.rb +++ b/app/models/group.rb @@ -35,7 +35,7 @@ class Group < Principal before_destroy :remove_references_before_destroy - scope :sorted, lambda { order(:type => :asc, :lastname => :asc) } + scope :sorted, lambda {order(:type => :asc, :lastname => :asc)} scope :named, lambda {|arg| where("LOWER(#{table_name}.lastname) = LOWER(?)", arg.to_s.strip)} scope :givable, lambda {where(:type => 'Group')} -- 2.39.5