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
What is ruby on rails & why it is used for?
what is rake in Rails?
What is agile development? What are the strengths?
What is the flash?
How is the model view controller framework used in ruby on rails?
how many types of callbacks available in ror?
what are helpers and how to use helpers in ror?
Tell me what is rails active record in ruby on rails?
who developed rails?
What is the main function of helpers used in ruby on rails?
What are the different filters used in ruby on rails?
Tell me what is coc in rails?
Explain how does rails implement ajax?
List out what can Rails Migration do?
What is the difference between concern and application_controller.rb in ruby on rails?