title: Rails form_with method: get cannot update a view
body: <p>Using form_with of rails5, I want to show current time text by clicking GET button. But text isn't updated.</p>
  
  <p>Though I press the button,
  <a href="https://i.stack.imgur.com/sNy8P.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sNy8P.png" alt="enter image description here"></a></p>
  
  <p>Text isn't updated.</p>
  
  <p><a href="https://i.stack.imgur.com/zIkiI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zIkiI.png" alt="enter image description here"></a></p>
  
  <p>Text in response is updated.
  <a href="https://i.stack.imgur.com/QxIFM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QxIFM.png" alt="enter image description here"></a></p>
  
  <p>users_controller.rb is following.</p>
  
  <pre><code>require 'date'
  class UsersController &lt; ApplicationController
    def index
      @message = Time.now.to_s
    end
  end                                                                                                     
  </code></pre>
  
  <p>index.html.erb is following.</p>
  
  <pre><code>&lt;div&gt;&lt;%= @message %&gt;&lt;/div&gt;
  &lt;%= form_with method: :get, url: users_path do |form| %&gt;
      &lt;%= form.submit 'SUBMIT'%&gt;
  &lt;% end %&gt;
  &lt;%= link_to 'LINK', { :controller =&gt; :users, :action =&gt; :index } %&gt;
  </code></pre>
  
  <p>Please, tell me how to update text by current time.</p>
  
  <p><strong>NOTE:</strong></p>
  
  <p>When press a link(rendered by link_to helper method), text is updated.</p>
  
  <p>press link...</p>
  
  <p><a href="https://i.stack.imgur.com/Ui5GY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ui5GY.png" alt="enter image description here"></a></p>
  
  <p>then text is updated.</p>
  
  <p><a href="https://i.stack.imgur.com/QZsVM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QZsVM.png" alt="enter image description here"></a></p>
  
  <p>why I can update text by link?</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>Server log when clicking the button is following.</p>
  
  <pre><code>Started GET "/users?utf8=%E2%9C%93&amp;commit=SUBMIT" for 127.0.0.1 at 2018-08-17 19:13:32 +0900
  Processing by UsersController#index as JS
    Parameters: {"utf8"=&gt;"✓", "commit"=&gt;"SUBMIT"}
    Rendering users/index.html.erb within layouts/application
    Rendered users/index.html.erb within layouts/application (4.7ms)
  Completed 200 OK in 153ms (Views: 112.5ms | ActiveRecord: 0.0ms)
  </code></pre>