-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8bec925
commit effbb8b
Showing
7 changed files
with
51 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
class AddImagePathToSeries < ActiveRecord::Migration[5.0] | ||
def change | ||
add_column :series, :image_path, :string | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,70 +1,36 @@ | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.create(title: "American Horror Story", description: "1111", year: "2010") | ||
Series.destroy_all | ||
|
||
Series.create( | ||
title: "Supergirl", | ||
description: "Twenty-four-year-old Kara Zor-El, who was taken in by the Danvers family when she was 13 after being sent away from Krypton, must learn to embrace her powers after previously hiding them. The Danvers teach her to be careful with her powers, until she has to reveal them during an unexpected disaster, setting her on her journey of heroism.", | ||
year: "2015", | ||
image_path: "https://static.next-episode.net/tv-shows-images/huge/supergirl.jpg" | ||
) | ||
|
||
Series.create( | ||
title: "Arrow", | ||
description: "Arrow is a modern retelling of the adventures of legendary DC hero Green Arrow.", | ||
year: "2012", | ||
image_path: "https://static.next-episode.net/tv-shows-images/huge/arrow.jpg" | ||
) | ||
|
||
Series.create( | ||
title: "The Good Doctor", | ||
description: "The Good Doctor centers on a young surgeon with Savant Syndrome who is recruited into the pediatric surgical unit of a prestigious hospital. The question will arise - can a person who doesn't have the ability to relate to people actually save their lives?", | ||
year: "2017", | ||
image_path: "https://static.next-episode.net/tv-shows-images/huge/the-good-doctor.jpg" | ||
) | ||
|
||
Series.create( | ||
title: "The Flash", | ||
description: "The show centers around scientist Barry Allen, who suffers a freak accident that turns him into a superhero with the power of incredible speed. This version of The Flash started with a recurring character on Arrow.", | ||
year: "2014", | ||
image_path: "https://static.next-episode.net/tv-shows-images/huge/the-flash.jpg" | ||
) | ||
|
||
Series.create( | ||
title: "The Flash", | ||
description: "The show centers around scientist Barry Allen, who suffers a freak accident that turns him into a superhero with the power of incredible speed. This version of The Flash started with a recurring character on Arrow.", | ||
year: "2014", | ||
image_path: "https://static.next-episode.net/tv-shows-images/huge/the-flash.jpg" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters