E1460: Refactoring StudentQuiz Controller

Please checkout this file from rails4 and push. `git checkout rails4 -- config/database.yml.example`