Explain how does rails implement ajax?
Answer / Murari Lal
Rails implements AJAX using the JavaScript helper methods like remote_form_for and remote_from, which send HTTP requests to a server in the background without refreshing the page. JQuery UJS (Unobtrusive JavaScript) is often used for this purpose.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the process for creating a controller for the subject? What is its role?
Do you know what are the types of caching used in rails, what are they?
How is dynamic scaffolding different from static scaffolding?
Explain the importance of yield statement in rails.
What is the difference between concern and application_controller.rb in ruby on rails?
What can Rails Migration do?
Tell me what is the difference between the observers and callbacks in ruby on rails?
What are the steps involved in writing and setting up an application in ruby on rails?
Tell me what is polymorphic association in ruby on rails?
Write a program to show the functionality of request.xhr in ruby on rails ?
Can you explain me how rails implements ajax?
What are the differences betweeen Rails 2.x and Rails 3
4 Answers Al Larin, Baidu, CTS,