Undefined method completed_at even after creating db:migrate file
I am getting this error instead of the unable to find link "Mark Complete" error that Jason is getting in the video. I have uploaded my work to github at https://github.com/hondoh/ODOT
F Failures: 1) Completing todo items is successful when marking a single item complete Failure/Error: expect(todo_item.completed_at).to be_nil NoMethodError: undefined method `completed_at' for #<TodoItem:0x007fc9813a2558> # ./spec/features/todo_items/complete_spec.rb:10:in `block (2 levels) in <top (required)>' Finished in 0.17555 seconds 1 example, 1 failure Failed examples: rspec ./spec/features/todo_items/complete_spec.rb:9 # Completing todo items is successful when marking a single item complete Randomized with seed 19938
Maciej Czuchnowski36,429 Points
The changes did not register in your schema: https://github.com/hondoh/ODOT/blob/master/db/schema.rb
Make sure you run
rake db:migrate and
rake db:migrate RAILS_ENV=test successfully.
I just downloaded my project files and ran the commands again and they worked this time and gave me a different result in the command line as well. I really appreciate all the help you've been giving me with this application. It would have been a nightmare without you.