# File lib/friendly_id/active_record2/slug.rb, line 19 def strip_diacritics(string) warn("Slug#strip_diacritics is deprecated and will be removed in FriendlyId 3.0. Please use SlugString#approximate_ascii.") raise BlankError if string.blank? SlugString.new(string).approximate_ascii end