Skip to content
Snippets Groups Projects
Unverified Commit f1b0c07c authored by Sébastien Gaya's avatar Sébastien Gaya
Browse files

remove useless association

parent 9178f79c
No related branches found
No related tags found
No related merge requests found
...@@ -66,7 +66,6 @@ class Research::Journal::Paper < ApplicationRecord ...@@ -66,7 +66,6 @@ class Research::Journal::Paper < ApplicationRecord
class_name: 'University::Person', class_name: 'University::Person',
join_table: :research_journal_papers_researchers, join_table: :research_journal_papers_researchers,
association_foreign_key: :researcher_id association_foreign_key: :researcher_id
has_many :communication_websites, -> { distinct }, through: :journal
validates :title, presence: true validates :title, presence: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment