Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

migration failing that was not in submission uninitialized constant #39

Open
tansaku opened this issue Oct 22, 2018 · 1 comment
Open

Comments

@tansaku
Copy link
Contributor

tansaku commented Oct 22, 2018

student report:

It seems the autograder tries (and fails) to migrate from a migration file that we didn't provide.
Though our cucumber tests are green and RSpec covers around 90%, we never receive higher than 0% for any submission.

here is an image of the error from EDX. The first line shows a class AddMoreMovies that throws an error. (Note that we did not submit the file "20120130161449_add_more_movies.rb", this was internal.)

/2018-10-22-14-46-17/db/migrate/20111119180638_create_movies.rb:10)
rake aborted!
StandardError: An error has occurred, this and all later migrations canceled:

uninitialized constant AddMoreMovies::Movie/home/ubuntu/rag/submissions/c2b7336d28e9341109bd03b1d041b544/assignment4
@tansaku
Copy link
Contributor Author

tansaku commented Oct 22, 2018

it appears that this was caused by the assignment not being fully nested in the required directory when zipped up for submission

@tansaku tansaku changed the title migration failing that was not in submission migration failing that was not in submission uninitialized constant Oct 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant