Mike Just wrote:
2) The Editor saves backup files from the last version of the file with extension .bak, like (xxx.html.erb.bak): /rails_apps/coconut/app/views/flights/show.html.erb.bak
I have no idea why Rails is trying to use your backup files. Maybe it sees the "html.erb" and ignores the rest of the file name. That being said, if I had an editor that left trash backup files around in my project folder I would immediately look for a option to turn that "feature" off. If the editor didn't have such an option, I would find another editor. Those backup files are completely unnecessary if you're using a version control system. And, if you're not using a version control system then your should be.