title: Ruby on Rails: After change in view, website not updating
body: <p>I don't think I quite understand how rails updates its view pages. I have deleted a piece of code in my index view, and when I go to refresh page, the code is still present. I tried restarting the server, and I can't think what else to do. Must be a simple thing that I haven't learnt yet, as I'm new to rails. Thanks</p>
  
  <p>EDIT:</p>
  
  <p>Routes</p>
  
  <pre><code>    projects GET    /projects(.:format)          projects#index
               POST   /projects(.:format)          projects#create
   new_project GET    /projects/new(.:format)      projects#new
  edit_project GET    /projects/:id/edit(.:format) projects#edit
       project GET    /projects/:id(.:format)      projects#show
               PUT    /projects/:id(.:format)      projects#update
               DELETE /projects/:id(.:format)      projects#destroy
        search        /search(.:format)            projects#search
          root        /                            projects#index
  </code></pre>
  
  <p>config/routes.rb:</p>
  
  <pre><code>FinalApp::Application.routes.draw do
      resources :projects
      match "search" =&gt; "projects#search", :as =&gt; :search
      root :to =&gt; 'projects#index'
  end
  </code></pre>
  
  <p>Index action in Project Controller:</p>
  
  <pre><code>def index
      @projects = Project.all
  
  
  
  respond_to do |format|
        format.html # index.html.erb
        format.json { render :json =&gt; @projects }
      end
    end
  </code></pre>