On Mon, 25 Sep 2006, dblack / wobblini.net wrote: > Hi -- > > On Mon, 25 Sep 2006, Giles Bowkett wrote: > >> here it is: >> >> @inducers = [] >> @inhibitors = [] >> @substrates = [] >> >> Interaction.find_all_by_involvement_type("Inducer").each do |interaction| >> @inhibitors.push(Drug.find(interaction.drug_id).name) > > I assume you mean @interactions.push here. I mean I assume you mean @inducers.push here. David -- David A. Black | dblack / wobblini.net Author of "Ruby for Rails" [1] | Ruby/Rails training & consultancy [3] DABlog (DAB's Weblog) [2] | Co-director, Ruby Central, Inc. [4] [1] http://www.manning.com/black | [3] http://www.rubypowerandlight.com [2] http://dablog.rubypal.com | [4] http://www.rubycentral.org