[ARVADOS] updated: 2361a1b4d619a0f405f98c507cff6219b237bb2e
git at public.curoverse.com
git at public.curoverse.com
Wed Nov 5 16:26:40 EST 2014
Summary of changes:
apps/workbench/app/models/arvados_resource_list.rb | 4 ++++
1 file changed, 4 insertions(+)
via 2361a1b4d619a0f405f98c507cff6219b237bb2e (commit)
from 47530892a8a6b174786316c3881e22dc0864c859 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 2361a1b4d619a0f405f98c507cff6219b237bb2e
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date: Wed Nov 5 16:26:37 2014 -0500
3400: Too much code that assumes it can call .first over and over without
incurring an API call each time (silly).
diff --git a/apps/workbench/app/models/arvados_resource_list.rb b/apps/workbench/app/models/arvados_resource_list.rb
index 6c80c02..eab2c51 100644
--- a/apps/workbench/app/models/arvados_resource_list.rb
+++ b/apps/workbench/app/models/arvados_resource_list.rb
@@ -173,6 +173,10 @@ class ArvadosResourceList
self
end
+ def first
+ results.first
+ end
+
def last
results.last
end
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list