further refactor knights_travails.rb