forked from saurabh/personal-journal
parent
c7fd7194c9
commit
3ef7a8d393
|
@ -36,7 +36,7 @@ class JournalPaper
|
|||
has_and_belongs_to_many :journal_levels
|
||||
|
||||
has_many :journal_paper_files, autosave: true, dependent: :destroy
|
||||
accepts_nested_attributes_for :journal_paper_files
|
||||
accepts_nested_attributes_for :journal_paper_files, :allow_destroy => true
|
||||
|
||||
# has_and_belongs_to_many :journal_paper_authors, dependent: :destroy
|
||||
# accepts_nested_attributes_for :journal_paper_authors
|
||||
|
|
Loading…
Reference in New Issue