如何显示 status.name 等于数组中项目的所有票证?
带有 select 的单个项目似乎像这样工作
@project_tickets = @project.tickets.select { |m| m.status.name == "new"] }
但不是一系列项目
params[:array_here] = ["new","implemented"]
@project = Project.find_by_id(params[:project_id])
@project_tickets = @project.tickets.select { |m| m.status.name == [params[:array_here]] }