Explain what delete does in Ruby on Rails.

bookmark

When responding to this question, candidates shouldn’t get confused between delete and destroy. They should be able to explain that delete deletes a record, whereas destroy both deletes a record and executes any callbacks on the model.