create and use sluggable gem and remove module code from app