require 'active_support/concern' module StringConcern extend ActiveSupport::Concern def likeize # .select{|w| w.length > 2} strip.gsub(/[^A-Za-z0-9]/, " ").split.join("%") end end