Why do we use request.xhr? in rails

Answer Posted / surekha matte

request.xhr? indicates the controller has
received an ajax request. It returns true or false

Is This Answer Correct ?    71 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how you can run Rails application without creating databases?

451


Tell me what is rails migration?

443


Explain testing in rails.

514


How you run your Rails Application without creating database ?

460


What are rails validation used for?

478






Write a program to generate and run the application without the use of database

437


What are the various changes between the rails version 2 and 3?

451


What is object-relationship-model (orm)?

517


What are the three methods to install ruby on rails?

471


Explain model in rails?

470


Write a program to show the functionality of request.xhr in ruby on rails ?

478


Explain how Rails implements Ajax?

467


what are some advantages of using ruby on rails?

476


What is the current version of ruby on rails?

453


Tell me what is ruby on rails?

429