I am new to Rails.

I run Rails with ruby script/server then the code in my index.html.erb
displays in the browser as expected.

If I change the contents of index.html.erb file and reload the page from
the browser the changes do not appear.

If I restart the server the changes still do not appear.

If I wait for say 5 minutes then the changes may appear.

If I look in the development log the original page contents are
requested but not the one with my changes. It is as if the server does
not notice I have made a change.

I thought it might be the browser. But even if I try a different browser
the original page is displayed.

I have tried using mongrel and webrick but both have the same problem.

Also it is just the html.erb files. If I change the contents of a
variable in a controller rb file the new value appears straight away in
the browser when I reload.



Is there a setting maybe I need to change to force the server to pick up
my html changes?


Thanks

Roy
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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