adspace
Answer Posted / Sonia Verma
In Rails, 'delete' is an HTTP verb used in RESTful applications to remove a resource. When you call 'destroy' on an ActiveRecord model, it calls the 'delete' action of its corresponding controller, which typically performs actions like setting the object as deleted and soft-deleting or hard-deleting the record from the database.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers