diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-10-28 18:43:11 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-10-28 18:43:11 +0000 |
commit | abff0531de82ed932e2489c0110e574579086e94 (patch) | |
tree | ad9b4f3c7c974405babe22af99284bf1753497c2 /app/models/issue_priority.rb | |
parent | cb2cd12dad87b01ce22eee9516055c11317b22e5 (diff) | |
download | redmine-abff0531de82ed932e2489c0110e574579086e94.tar.gz redmine-abff0531de82ed932e2489c0110e574579086e94.zip |
Code cleanup, removed raw SQL.
git-svn-id: http://svn.redmine.org/redmine/trunk@13522 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/issue_priority.rb')
-rw-r--r-- | app/models/issue_priority.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/issue_priority.rb b/app/models/issue_priority.rb index 182235cb6..1e00cc01f 100644 --- a/app/models/issue_priority.rb +++ b/app/models/issue_priority.rb @@ -32,7 +32,7 @@ class IssuePriority < Enumeration end def transfer_relations(to) - issues.update_all("priority_id = #{to.id}") + issues.update_all(:priority_id => to.id) end def css_classes |