molten-trunk/molten5_withgrid/app/models/sfcontact.rb
def name
    value = "#{last_name}, #{first_name}".strip
    if value == ','
      ''
    else
      value
    end
  end
# combines the user's first and last name
combines the user's first and last name
combines the user ' s first and last name
def name
    value = "#{last_name}, #{first_name}".strip
    if value == ','
      ''
    else
      value
    end
  end
def name value = "#{last_name}, #{first_name}" . strip if value == ',' '' else value end end
combines the user's first and last name
combines the user ' s first and last name