This commit is contained in:
Vokhmin Alexey V 2013-02-22 14:27:24 +04:00
parent 79d81e9c13
commit 267c3b9b23
1 changed files with 1 additions and 1 deletions

View File

@ -486,7 +486,7 @@ class BuildList < ActiveRecord::Base
self.extra_repositories = nil
else
self.extra_repositories = Repository.where(:id => extra_repositories).
accessible_by(current_ability, :read).pluck(:id)
accessible_by(current_ability, :read).pluck('repositories.id')
end
end