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 does ruby on rails use the model view controller (mvc) framework?

445


What is the difference between delete and destroy ?

474


What are models in rails?

467


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

463


What are the different components of rails ?

509






What is the purpose of auto_load in ruby?

502


What are class libraries?

491


Why ruby on rails is used for?

486


How is dynamic scaffolding different from static scaffolding?

455


What does ruby name refer to?

534


what is the difference in scope for these two variables: @@name and @name?

456


How is visibility of methods changed in ruby (encapsulation) ?

478


what is testing in rails?

542


What is the use of super in Ruby Rails?

507


what is Ruby on Rails?

573