This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/db/seeds.rb

21 lines
323 B
Ruby

require 'factory_girl'
require 'faker'
#Dir[Rails.root.join("spec/factories/*.rb")].each {|f| require f}
10.times do
FactoryGirl.create(:journal_level)
end
10.times do
FactoryGirl.create(:relations)
end
50.times do
FactoryGirl.create(:paper_record)
end
50.times do
FactoryGirl.create(:co_author_candidate)
end