@mohammad-abdulkhaliq this time we are in the Ideas controller, so the situation is reversed. `params[:id] is expected to be an idea (which is the case) but rename `id1` to `competition_id`