app/models/employee.rb
# Returns the employee's full name, in the format "lastname, firstname"
Returns the employee's full name, in the format "lastname, firstname"
Returns the employee ' s full name in the format " lastname firstname "
def full_name
    full_name = "#{last_name}, #{first_name}"
    full_name += " (#{I18n.t :inactive})" unless active
    return full_name
  end
def full_name full_name = "#{last_name}, #{first_name}" full_name += " (#{I18n.t :inactive})" unless active return full_name end
Returns the employee's full name, in the format "lastname, firstname"
Returns the employee ' s full name in the format " lastname firstname "