module FactHelper
  def friendly_fact_path(fact)
    frurl_fact_path(fact.to_s.parameterize, fact.id)
  end
end
module FactHelper
  def friendly_fact_path(fact)
    slug = fact.to_s.blank? ? fact.id : fact.to_s.parameterize
    frurl_fact_path(slug, fact.id)
  end
end
Use displaystring as slug but fall back to the object ID if displaystring is not available
Use displaystring as slug but fall back to the object ID if displaystring is not available
