refactor xml-file questions for rails style.