Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
Within a Rails controller, which code will prevent the parent controller's before_action :get_feature from running?
Home
Ruby
Within a Rails controller, which code will prevent the parent controller's before_action...
0
votes
asked
Aug 26, 2022
in
Ruby
by
Robin
Within a Rails controller, which code will prevent the parent controller's before_action :get_feature from running?
a. skip_before_action :get_feature
b. skip :get_feature, except: []
c. prevent_action :get_feature
d. :redis_cache_store
ruby-interview-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Aug 26, 2022
by
Robin
Within a Rails controller, which code will prevent the parent controller's before_action :get_feature from running?
Correct answer is :- skip_before_action :get_feature
...