Vidyalelo
Ruby Programming · Q58

Advanced Topics in Ruby

Programming · Ruby Programming · question 58

Q58

What is a "callback" in the context of Ruby on Rails?

A.
A method that is called when a database query is executed
B.
A method that is called when an exception occurs
C.
A method that is called in response to a specific event in the application lifecycle
Answer
D.
A method that is called before an object is instantiated

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board