seeds.rb revision 7d15aa8b5103d502f301975f85b2457dac390166
# This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
#
# Create Admin User
:admin => true,
:password => 'foobar'
Team.create! \
:name => 'Lorem Ipsum',
:admin_user => user
o = Ontology.new \
uri: "file://seeds/#{basename}",
end
# Create 5 ontologies
5.times do |n|
o = Ontology.new \
end