How do rails implement ajax?



How do rails implement ajax?..

Answer / Swatantra Gupta

Ruby on Rails implements AJAX (Asynchronous JavaScript and XML) using various libraries such as jQuery, Prototype, or CoffeeScript. The most common method is through unobtrusive JavaScript (UJS), which allows you to write HTML with JavaScript behavior and makes it easy to integrate AJAX calls into views. Rails provides the remote_form, remote_link, and remote_function helpers for this purpose.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby on Rails Interview Questions

am new to ruby. tell me one thing. i can view my project on browser when i write "ruby script/server". otherwise i cant view my project on localhost. what i have to do to view my project always on browser? pls help

5 Answers  


What I have to do to view my project always on browser?

1 Answers  


Where does the start_tabnav gets informations for tabs rendering in ruby rail?

1 Answers  


Do you know what is “yield” in ruby on rails?

1 Answers  


What is rails migrations?

1 Answers  


What is the difference between sessions and flash?

3 Answers  


what is testing in rails?

1 Answers  


Tell me what is rails active record in ruby on rails?

1 Answers  


Tell me what is polymorphic association in ruby on rails?

1 Answers  


Explain bundler in rails.

1 Answers  


What are filters? and how many types of filters are there in ruby

2 Answers   Baidu, TCS,


What do you understand by rails migration and what it can do?

1 Answers  


Categories