# 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 => 'Daley', :city => cities.first)

@today = Date.today

providence_park = Venue.create(title: "Providence Park", street_address: "1844 SW Morrison St, Portland, OR 97205", description: "Where the mighty Timbers play!", url: "http://providenceparkpdx.com/", access_notes: "Just don't jump on the field!")

sample_events = Event.create(title: "Learn to Calagate!", start_time: @today + 13.hour, description: "Come to one of our code sprints and learn to contribute to your favorite tech event aggregator!", end_time: @today + 17.hour, venue_id: providence_park.id)
