Skip to content
This repository
tree: 2db0f99fe0
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 18 lines (18 sloc) 0.596 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
# 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' }])
# Mayor.create(name: 'Emanuel', city: cities.first)
if Item.create!(
  {
    name: "Hammer",
    date_collected: Time.now,
    time_checked_in: Time.now,
    item_type: "Tool",
    desc: "16 oz, Oak handle",
    donated_by: "Chase Southard",
    maintained_by: ""
  }
) then puts "Created some items." end
Something went wrong with that request. Please try again.