-
Notifications
You must be signed in to change notification settings - Fork 0
/
seeds.rb
9 lines (8 loc) · 853 Bytes
/
seeds.rb
1
2
3
4
5
6
7
8
9
# 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 rails db:seed command (or created alongside the database with db:setup).
#
# Examples:
#
# movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
# Character.create(name: 'Luke', movie: movies.first)
Artifact.create(objectID:"322585",title:"Panel with striding lion",alt_title: "Panel with striding lion, Ceramic, glaze, Babylonian",pic_sm_url:"https://images.metmuseum.org/CRDImages/an/web-additional/DT891.jpg",pic_lg_url: "https://images.metmuseum.org/CRDImages/an/web-large/DT891.jpg", audio: "https://images.metmuseum.org/CRDImages/an/audio/5TH-7040-ENG-332565-1.mp3", location: "Babylon", era:"1000 B.C.-A.D. 1", timeline_url: "https://www.metmuseum.org/toah/ht/04/wam.html" )