module ApplicationHelper
  def phone_to(number)
    link_to number, "tel:#{number}"
  end
  
  def sortable(column, title=nil)
    title = column.titleize
    join_column = column.pluralize + '.name'
    css_class = column == sort_column ? "current #{sort_direction}" : nil
    # join columns dont change sort directions because, 
    direction = (column == sort_column or join_column == sort_column) && sort_direction == "asc" ? "desc" : "asc"
    link_to title, params.merge({:sort => column, :direction => direction}), {:class => css_class}
  end
end

module ApplicationHelper
  def phone_to(number)
    if number.nil?
      return "" 
    else
      link_to number, "tel:#{number}"
    end
  end
  
  def sortable(column, title=nil)
    title = column.titleize
    join_column = column.pluralize + '.name'
    css_class = column == sort_column ? "current #{sort_direction}" : nil
    # join columns dont change sort directions because, 
    direction = (column == sort_column or join_column == sort_column) && sort_direction == "asc" ? "desc" : "asc"
    link_to title, params.merge({:sort => column, :direction => direction}), {:class => css_class}
  end
end

Remove ':tel' display on member page when nil
Remove ':tel' display on member page when nil

Added logic to application_helper to check if phone
value is nil and remove ':tel' display value
