From 39ceaa7d55ce2cb479750fad570a59f309c97263 2014-01-11 05:51:35 From: Toshi MARUYAMA Date: 2014-01-11 05:51:35 Subject: [PATCH] cleanup syntax of Relation#all at app/views/watchers/_new.html.erb git-svn-id: http://svn.redmine.org/redmine/trunk@12619 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/watchers/_new.html.erb b/app/views/watchers/_new.html.erb index a303801..e3443a1 100644 --- a/app/views/watchers/_new.html.erb +++ b/app/views/watchers/_new.html.erb @@ -20,7 +20,7 @@ <%= principals_check_box_tags( 'watcher[user_ids][]', (watched ? - watched.addable_watcher_users : User.active.all(:limit => 100)) + watched.addable_watcher_users : User.active.limit(100).all) ) %>