opf/openproject — pull request #2151 by marutosi (2014-11-05 09:41:07+00:00)
Title: Fix LegacyIssuesToWorkPackages for AR API change

On Rails4, #select_all returns a ActiveRecord::Result.

http://www.ruby-doc.org/core-2.1.4/Array.html#method-i-length

Signed-off-by: Alex Coles