Good point, .bak files have also been known to cause problems.
I am using Ultraedit as my text editor which leaves behind a .bak file.
If I delete the bak file before reloading the browser then the updates I
made appear on the screen immediately.
It was interesting, after I deleted the .bak and reloaded the browser,
Rails complained the view file had disappeared. On hitting the reload
button a second time the real erb file with the changes was displayed by
the browser. Rails preferred the .bak file to the erb file.
I am sure I used Ultraedit to edit files elsewhere without the .bak
problem getting in the way. It was also recommended as an editor for
Rails in Simply Rails 2 by Patrick Lenz
I now just have to work out if I need to change editor or if there is a
way to fix the leaving of .bak files behind.
Thanks for shedding light on this curious and infuriating problem.