destroy all in rails console code example
Example: ruby rails delete all of a model in console
user.destroy #For a single record
user.agents.destroy_all #For a collection
user.destroy #For a single record
user.agents.destroy_all #For a collection