What are filters? and how many types of filters are there
in ruby
Answer Posted / raja
Filters enable controllers to run shared pre and post
processing code for its actions.
Filter methods are macro-style, that is, they appear at the
top of your controller method, inside the class context,
before method definitions.
the below types of filters in ruby
before_filter,
after_filter,
prepend_before_filter,
prepend_after_filter,
around_filter
| Is This Answer Correct ? | 13 Yes | 4 No |
Post New Answer View All Answers
Explain about restful architecture?
Explain the role of sub directory app/controllers and app/helpers.
How many types of relationships does a model has?
Can you list out what can rails migration do?
What is the Install rail package?
Explain me what is the difference between concern and application_controller.rb in ruby on rails?
How is calling super() different from the super call?
What is rake?
How do rails implement ajax?
What are the three methods to install ruby on rails?
What are generators in ruby on rails?
hi am b,tech 2011 passedout now am learnig ROR technology may i knw what is the feature of this one and what is the salary ranges to this i heard there is a less salaries to this technology give me valuable suggestions
Are there any disadvantages of ruby on rails? If yes, mention them.
What is the difference between save and save?
how does ruby on rails use the model view controller (mvc) framework?