I am going to removing existing model form my application, then its works fine.
invoke active_record
remove db/migrate/20170803044626_create_students.rb
remove app/models/student.rb
invoke test_unit
remove test/models/student_test.rb
remove test/fixtures/students.yml
gives:
rails d model test
when I am going to remove non-exist model like
invoke active_record
remove db/migrate/20170803044857_create_tests.rb
remove app/models/test.rb
invoke test_unit
remove test/models/test_test.rb
remove test/fixtures/tests.yml
gives:
models
Why is model removing? although the model does not exist.I expect an error.