Topic: mistake in naming a column

I am reading agile web development. and working on creating the DEPOT application.

While I cerated it I have made the table line_item with a column by a wrong name. I have corrected it and kept on working.
Now that I have reached ch#14 it comes back to hunt me.

after I wrote:
ruby -I test test/unit/product_test.rb

I received an error message saying that
table line_items has no column named quantuty

what can I do ?


Re: mistake in naming a column

Hello Angel,

Maybe you test database has not be updated with your correction. Try "rake db:test:prepare" to make sure that the test db schema is up to date, and run again "ruby -I test test/unit/product_test.rb".