Answers

Question and Answer:

  Home  Ruby on Rails Developer

⟩ Do you know what are rails filters?

Rails filters are methods that run before or after a controller’s action method is executed. They are helpful when you want to ensure that a given block of code runs with whatever action method is called.

Rails support three types of filter methods:

☛ Before filters

☛ After filters

☛ Around filters

 179 views

More Questions for you: