私はこれをしたい:
In the view, have a button_to "Find"
The button click submits the search query to the rails action (controller)
The action calls some external api
A response comes back in 1ms up to 20secs (who knows? it's an external webservice, right?)
When the response is returned, the view which originally contains the button_to and the search field is updated with the response (via javascript)
- この背後にある基本的な考え方は何ですか?
- これは何と呼ばれていますか?
- 応答が返されたときにビューを更新するにはどうすればよいですか?
ありがとう