rails delete model and references code example Example: rails remove model rails destroy model <model_name>