What are filters? and how many types of filters are there in ruby?
Submitted by: AdministratorFilters 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
Submitted by: Administrator
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
Submitted by: Administrator
Read Online Ruby on Rails Job Interview Questions And Answers
Top Ruby on Rails Questions
☺ | What the difference between static scaffolding and Dynamic scaffolding? |
☺ | What is difference between form_for and form_tag? |
☺ | What are the differences betweeen Rails 2.x and Rails 3? |
☺ | Why do we use request.xhr? in rails? |
☺ | What is session and cookies? |
Top Coding/Programming Categories
☺ | Python Interview Questions. |
☺ | OOP Interview Questions. |
☺ | Software engineering Interview Questions. |
☺ | PHP Interview Questions. |
☺ | VBA (Visual Basic for Applications) Interview Questions. |