2013-02-26 07:52:20 +00:00
|
|
|
|
|
|
|
JournalCoAuthorRelation.destroy_all
|
|
|
|
JournalCoAuthor.destroy_all
|
|
|
|
JournalLevelType.destroy_all
|
|
|
|
WritingJournalFile.destroy_all
|
|
|
|
WritingJournal.destroy_all
|
|
|
|
|
|
|
|
10.size.times do
|
|
|
|
FactoryGirl.create(:journal_level)
|
|
|
|
end
|
|
|
|
|
|
|
|
10.times do
|
|
|
|
FactoryGirl.create(:journal_co_author_relation)
|
|
|
|
end
|
|
|
|
|
2013-03-12 03:18:32 +00:00
|
|
|
4.times do
|
|
|
|
50.times do
|
|
|
|
FactoryGirl.create(:writing_journal)
|
|
|
|
end
|
2013-02-26 07:52:20 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
50.times do
|
|
|
|
FactoryGirl.create(:journal_co_author)
|
|
|
|
end
|
|
|
|
puts "Journal sample data import success!"
|