module TabsHelper

  def tab_link_to(model_or_name, link, current=nil)
    model_or_name = model_or_name.model_name.human.capitalize.pluralize if Class === model_or_name
    current ||= request.path.start_with?(link)
    link_to model_or_name, link, :class => ("current" if current)
  end

end

module TabsHelper

  def tab_link_to(model_or_name, link, current=nil)
    model_or_name = model_or_name.model_name.human(:count => 2).capitalize if Class === model_or_name
    current ||= request.path.start_with?(link)
    link_to model_or_name, link, :class => ("current" if current)
  end

end

Use yml for plural model name
Use yml for plural model name
