how to delete model in rails code example Example 1: how drop model rails rails drop model user Example 2: rails remove model rails destroy model <model_name>