2009/8/25 Roy Bleasdale <[email protected]>:
>
>
>> 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.
>

This was a bug in Rails at some version (not sure which), it was fixed
by 2.3.2 or possibly earlier I think.  Which version are you using?

Colin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to