seeds.rb revision db5e5ce1aaece909027be839755bcea14679f1e0
# 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'
:name => 'Lorem Ipsum'
o = Ontology.new \
uri: "file://seeds/#{basename}",
end
# Create 5 ontologies
5.times do |n|
o = Ontology.new \
end