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 rake?

854


What is Rails?

880


what is Rails Active Record in Ruby on Rails?

929


At is cross-site request forgery (csrf)?

1011


What are the different components of rails ?

902


What are float, dig and max?

1020


Explain rvm in rails?

794


Mention all the naming conventions in ruby on rails.

853


what is Rails Migration?

988


How can you run rails without creating databases?

890


How to use two databases into a single application?

901


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

841


What is a ruby singleton method ?

845


Explain valid and invalid in rails?

835


What is the difference between save and save?

1030