##// END OF EJS Templates
Rails4: replace deprecated find_all_by_* at Tracker model...
Toshi MARUYAMA -
r12273:a6c18dce1324
parent child
Show More
@@ -63,8 +63,7 class Tracker < ActiveRecord::Base
63 63 connection.select_rows("SELECT DISTINCT old_status_id, new_status_id FROM #{WorkflowTransition.table_name} WHERE tracker_id = #{id} AND type = 'WorkflowTransition'").
64 64 flatten.
65 65 uniq
66
67 @issue_statuses = IssueStatus.find_all_by_id(ids).sort
66 @issue_statuses = IssueStatus.where(:id => ids).all.sort
68 67 end
69 68
70 69 def disabled_core_fields
General Comments 0
You need to be logged in to leave comments. Login now