I want provide to copyright notice at start of files in my Ruby on Rails project. Can I give copyright notice in all Ruby on Rails files including auto generated files like application.rb, routes.rb. ?
You would need to review the MIT-license for that: http://www.opensource.org/licenses/mit-license.php
but if my understanding is correct, yes you can put a copyright notice on your files.