0 votes
in Ruby by
What is before_action (formerly known as before_filter)?

 a. A trigger that is executed before an alteration of an object's state

 b. A method that is executed before an ActiveRecord model is saved

 c. A callback that fires before an event is handled

 d. A method in a controller that is executed before the controller action method

1 Answer

0 votes
by
What is before_action (formerly known as before_filter)?

Correct answer is :-  A method in a controller that is executed before the controller action method
...