##// END OF EJS Templates
Rails4: replace deprecated Relation#update_all at IssuePriority model...
Toshi MARUYAMA -
r12214:14fa4dc68369
parent child
Show More
@@ -61,7 +61,7 class IssuePriority < Enumeration
61 61 index == (priorities.size - 1) ? "highest" : "high#{priorities.size - index}"
62 62 end
63 63
64 update_all({:position_name => name}, :id => priority.id)
64 where(:id => priority.id).update_all({:position_name => name})
65 65 end
66 66 end
67 67 end
General Comments 0
You need to be logged in to leave comments. Login now