find_all_by_idをwhereに修正