Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

what is Rails Active Record in Ruby on Rails?

880


What do you mean by render and redirect_to?

825


what is Polymorphic Association in Ruby on Rails?

814


How many types of relationships does a model has?

773


what is the difference between redirect and render in Ruby on Rails?

892


Explain rails caching levels.

892


What are the three methods to install ruby on rails?

817


how you can list all routes for an application?

827


What is the purpose of load, auto_load, and require_relative in ruby ?

756


Do you know the role of garbage collection in ruby on rails?

780


What is the difference between false and nil in ruby?

800


what is the difference between Active support’s “HashWithIndifferent” and Ruby’s “Hash” ?

866


What is Rails?

812


Explain some features of nested scaffolding.

816


What is the current version of ruby on rails?

817