lib/seek/acts_as_isa/relationships.rb
def child_isa
          case self
            when Investigation
              studies
            when Study
              assays
            else
              []
          end
        end
# the child elements depending on the current type, for example for Investigation is would be studies
the child elements depending on the current type, for example for Investigation is would be studies
the child elements depending on the current type for example for Investigation is would be studies
def child_isa
          case self
            when Investigation
              studies
            when Study
              assays
            else
              []
          end
        end
def child_isa case self when Investigation studies when Study assays else [ ] end end
the child elements depending on the current type, for example for Investigation is would be studies
the child elements depending on the current type for example for Investigation is would be studies