app/view_objects/board_bag.rb
def ordered_issues(column, issue_numbers)
    issue_numbers.map do |number|
      issues_by_columns[column.id].detect do |issue|
        number.to_i == issue.number && !issue.archive?
      end
    end.
      compact.
      uniq(&:number) # NOTE Need for remove magic duplication.
  end
# FIX : Refactoring this method.
FIX : Refactoring this method.
FIX : Refactoring this method .
def ordered_issues(column, issue_numbers)
    issue_numbers.map do |number|
      issues_by_columns[column.id].detect do |issue|
        number.to_i == issue.number && !issue.archive?
      end
    end.
      compact.
      uniq(&:number) 
  end
def ordered_issues ( column , issue_numbers ) issue_numbers . map do | number | issues_by_columns [ column . id ] . detect do | issue | number . to_i == issue . number && ! issue . archive? end end . compact . uniq ( & :number ) end
FIX : Refactoring this method.
FIX : Refactoring this method .
# NOTE Need for remove magic duplication.
column
issue_numbers