molten-trunk/molten5_withgrid/app/models/sfattach.rb
def parent
    if record = Sfsolution.find_by_sf_id(parent_id)
      record
    else
      record = Sfcase.find_by_sf_id(parent_id)
    end
  end
# Parent can be a solution or a case
Parent can be a solution or a case
Parent can be a solution or a case
def parent
    if record = Sfsolution.find_by_sf_id(parent_id)
      record
    else
      record = Sfcase.find_by_sf_id(parent_id)
    end
  end
def parent if record = Sfsolution . find_by_sf_id ( parent_id ) record else record = Sfcase . find_by_sf_id ( parent_id ) end end
Parent can be a solution or a case
Parent can be a solution or a case