Home »
MCQs »
Ruby on Rails MCQs
____ returns true if this object has been destroyed, otherwise returns false
24. ____ returns true if this object has been destroyed, otherwise returns false.
- Destroy()
- Destroy!()
- Delete!()
- Destroyed?()
Answer: D) Destroyed?()
Explanation:
destroyed?() returns true if this object has been destroyed, otherwise returns false.