|
From: | Don Cruickshank |
Subject: | RE: [Myexperiment-discuss] Get credits and tags |
Date: | Fri, 7 Nov 2008 16:03:16 -0000 |
Hi Tony, The two lines you want are:
cn_<%= workflow.id %> = [<%= (workflow.creditors.map do |c|
"\"#{c.creditor.name}\"" end).join(",") %>]; ta_<%= workflow.id %> = [<%=
(workflow.tags.map do |t| "\"#{t.name}\""
end).join(",") %>]; For example, this produces the following for workflow 150:
cn_150 = ["Pieter Neerincx","Alako"];
ta_150 = ["biomoby","disambiguation","gene
symbol","text mining"]; Regards, Don. From:
address@hidden
[mailto:address@hidden On
Behalf Of Linde, A.E. Sorry
to bother everyone again, but I need to get just the names of creditors and
tags against each workflow. I’ve copied the stuff from _table.rhtml and
got: |
[Prev in Thread] | Current Thread | [Next in Thread] |