Pass directive controller to ruby block