Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 15 lines (12 sloc) 1.09 KB
# 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).
#
# Examples:
#
# cities = City.create([{ :name => 'Chicago' }, { :name => 'Copenhagen' }])
# Major.create(:name => 'Daley', :city => cities.first)
#Compstatus.create(:computer_name => 'IC101', :status => 1, :computer_type =>'PC', :left_pos =>40, :top_pos =>-4, :updated_at =>'2010-11-03 10:44:32')
#Compstatus.create(:computer_name => 'IC102' , :status => 1, :computer_type =>'PC', :left_pos => 22, :top_pos =>-12, :updated_at =>'2010-10-04 20:31:09')
#Compstatus.create(:computer_name => 'IC103', :status => 0, :computer_type =>'PC', :left_pos =>22, :top_pos =>-10, :updated_at =>'2010-11-03 10:44:39')
#Compstatus.create(:computer_name => 'IC104', :status => 0, :computer_type =>'PC', :left_pos =>22, :top_pos =>-8, :updated_at =>'2010-11-03 10:44:43')
#Compstatus.create(:computer_name => 'IC87', :status =>1, :computer_type =>'PC', :left_pos =>40, :top_pos =>-39, :updated_at =>'2010-11-03 10:22:15')