Added rails logic for duplicating a question.