This is not the entire rails project. I have chopped out the files from my project, required for the understanding of implementing oauth authorization in rails.