app/helpers/assays_helper.rb
#assays that haven't already been associated with a study
assays that haven't already been associated with a study
assays that haven ' t already been associated with a study
def direction_options
    dirs = [AssayAsset::Direction::NODIRECTION,
     AssayAsset::Direction::INCOMING,
     AssayAsset::Direction::OUTGOING]
    options_for_select(dirs.map { |dir| [direction_name(dir), dir] })
  end
def direction_options dirs = [ AssayAsset :: Direction :: NODIRECTION , AssayAsset :: Direction :: INCOMING , AssayAsset :: Direction :: OUTGOING ] options_for_select ( dirs . map { | dir | [ direction_name ( dir ) , dir ] } ) end
assays that haven't already been associated with a study
assays that haven ' t already been associated with a study