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...

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

Answer Posted / sanjib

basically filters are used to run some code or skip some
code before executing particular action.It is used in
controller.say we want to check authenticity before we
executing some action or skip checking authenticity before
some action which automatically is configured to check the
authenticity.We can do it by before_filter :somemethod or
skip_before_filter :someaction inside my controller.

Is This Answer Correct ?    28 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is ruby on rails & why it is used for?

814


what is rake in Rails?

884


What is agile development? What are the strengths?

871


What is the flash?

846


How is the model view controller framework used in ruby on rails?

853


how many types of callbacks available in ror?

1041


what are helpers and how to use helpers in ror?

898


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

792


who developed rails?

896


What is the main function of helpers used in ruby on rails?

866


What are the different filters used in ruby on rails?

762


Tell me what is coc in rails?

985


Explain how does rails implement ajax?

973


List out what can Rails Migration do?

935


What is the difference between concern and application_controller.rb in ruby on rails?

825