moving voteable logic to gem voteable_alanwells
passing generate_slug as block to allow paramater to be passed