module ApplicationHelper def capitalize string string.capitalize if string end end