codeforsanjose/codeforsanjose

View on GitHub
db/seeds.rb

Summary

Maintainability
A
0 mins
Test Coverage
# 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)

# MeetupEvent.create(
#   name: 'Hack night!',
#   event_url: 'http://foobar.com',
#   address: 'Park Ave. Entrance by the rolling ball sculpture',
#   address_name: 'The Tech Museum',
#   address_city: 'San Jose',
#   time: 14491962000000,
#   duration: 9000000,
#   yes_rsvp_count: 40
# )