We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Given a paper Then it should have an empty list of authors
To create an n:m relation, you need to create a new database table. Help can be found on StackOverflow or in the official documentation.
Then, you need to define has_and_belongs_to_many in both model classes.
has_and_belongs_to_many
Got NoMethodError: undefined method `authors' for #Paper:0x00000005826428 Did you mean? author author= Did you mean? author author=
Estimated progress: 88% complete
The text was updated successfully, but these errors were encountered:
migrated to n:m relation, solved #28
48e7c7e
changed factory for n:n, maybe solved #28
3207d83
No branches or pull requests
Scenario
Given a paper
Then it should have an empty list of authors
Hints
To create an n:m relation, you need to create a new database table.
Help can be found on StackOverflow or in the official documentation.
Then, you need to define
has_and_belongs_to_many
in both model classes.Error
Estimated progress: 88% complete
The text was updated successfully, but these errors were encountered: