Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
andresag4 committed Sep 10, 2024
1 parent af914ad commit 67ef116
Show file tree
Hide file tree
Showing 2 changed files with 107 additions and 90 deletions.
47 changes: 47 additions & 0 deletions dont_commit_seeds.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
offsite_shopify_port = conference.locations.find_or_create_by!(name: "Offsite location: Shopify Port")
offsite_craft_beer = conference.locations.find_or_create_by!(name: "Offsite location: CRAFT Beer Market")
offsite_sonesta_hotel = conference.locations.find_or_create_by!(name: "Offsite location: Sonesta Hotel")

Session.find_or_create_by!(
conference: conference,
title: "Early registration, sponsored by Shopify",
starts_at: Time.zone.local(2024, month, registration_day, 16, 0)
) do |session|
session.description = "TODO" # TODO
session.ends_at = Time.zone.local(2024, month, registration_day, 19, 0o0)
session.location = offsite_sonesta_hotel
session.public = false
end

Session.find_or_create_by!(
conference: conference,
title: "WNB.rb pre-Rails World meetup, sponsored by Shopify",
starts_at: Time.zone.local(2024, month, registration_day, 16, 0)
) do |session|
session.description = "TODO" # TODO
session.ends_at = Time.zone.local(2024, month, registration_day, 19, 0o0)
session.location = offsite_shopify_port
session.public = false
end

Session.find_or_create_by!(
conference: conference,
title: "Clio x Toronto Ruby: Day 1 Party",
starts_at: Time.zone.local(2024, month, start_day, 18, 30)
) do |session|
session.description = "" # TODO
session.ends_at = Time.zone.local(2024, month, start_day, 23, 0)
session.location = offsite_craft_beer
session.public = false
end

Session.find_or_create_by!(
conference: conference,
title: "Shopify Closing Party",
starts_at: Time.zone.local(2024, month, second_day, 19, 0)
) do |session|
session.description = "" # TODO
session.ends_at = Time.zone.local(2024, month, second_day, 22, 0)
session.location = offsite_shopify_port
session.public = false
end
150 changes: 60 additions & 90 deletions lib/tasks/db.rake
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@ namespace :db do
conference = Conference.find_or_create_by!(name: "Rails World 2024")

# Create Locations
track_1 = conference.locations.find_or_create_by!(name: "Track 1 (hosted by GitHub)")
track_2 = conference.locations.find_or_create_by!(name: "Track 2 (hosted by AppSignal)")
lightning_track = conference.locations.find_or_create_by!(name: "Lightning Track (hosted by Shopify)")
track_1 = conference.locations.find_or_create_by!(name: "Track 1")
track_2 = conference.locations.find_or_create_by!(name: "Track 2")
lightning_track = conference.locations.find_or_create_by!(name: "Lightning Track")
sponsor_garden = conference.locations.find_or_create_by!(name: "Sponsor Garden")
sponsor_lounge = conference.locations.find_or_create_by!(name: "Sponsor Lounge")
break_location = conference.locations.find_or_create_by!(name: "Sponsor Garden, Shopify Lounge, Lightning Track, Kilns, Pavilions")
toronto_location = conference.locations.find_or_create_by!(name: "Toronto")
double_up_location = conference.locations.find_or_create_by!(name: "Double Up Lab")
tbd_location = conference.locations.find_or_create_by!(name: "TBD")
tbd_attendees_location = conference.locations.find_or_create_by!(name: "TBD (will be shared with registered attendees)")
shopify_port = conference.locations.find_or_create_by!(name: "Shopify Port")

# Create Tags
community = Tag.find_or_create_by!(name: "Community")
Expand Down Expand Up @@ -315,15 +316,24 @@ namespace :db do
end.profileable

# Create Sessions
Session.find_or_create_by!(
conference: conference,
title: "Early registration, sponsored by Shopify",
starts_at: Time.zone.local(2024, month, registration_day, 16, 0)
) do |session|
session.description = "Registration opens for those who are already in town. Avoid the Thursday morning line, get your badge, and grab a drink with other attendees. Sponsored by Shopify, Rails World City Host."
session.ends_at = Time.zone.local(2024, month, registration_day, 19, 0o0)
session.location = tbd_location
end

Session.find_or_create_by!(
conference: conference,
title: "What to do tonight",
starts_at: Time.zone.local(2024, month, registration_day, 17, 0)
title: "WNB.rb pre-Rails World meetup, sponsored by Shopify",
starts_at: Time.zone.local(2024, month, registration_day, 16, 0)
) do |session|
session.description = "TODO" # TODO
session.ends_at = Time.zone.local(2024, month, registration_day, 18, 0o0)
session.location = toronto_location
session.description = "A chance for women and non-binary Rails World attendees to meet up before Rails World. Hosted by WNB.rb and sponsored by Shopify."
session.ends_at = Time.zone.local(2024, month, registration_day, 19, 0o0)
session.location = shopify_port
end

Session.find_or_create_by!(
Expand Down Expand Up @@ -374,10 +384,10 @@ namespace :db do

Session.find_or_create_by!(
conference: conference,
title: "Lunch (and other things to do in the breaks)",
title: "What to do in the breaks",
starts_at: Time.zone.local(2024, month, start_day, 11, 45)
) do |session|
session.description = "TODO" # TODO
session.description = "During lunch and breaks between sessions on both days, attendees can: <ul> <li> Catch 10-15 min Community talks on the Lightning Track (sponsored by Shopify) </li> <li> Chat with our sponsors in the Sponsor Garden </li> <li> Hang out in the Shopify Lounge </li> <li> Follow a workshop (sponsored by Coder) </li> <li> Drop by the Test Double Office Hours for pair programming and career advice </li> <li> Explore the historic venue </li> <li> Take a walk in the nature park located behind the venue </li> <li> Grab an espresso or latte from the coffee carts (sponsored by Cedarcode) </li> <li> Or grab an item from the Food Trucks (sponsored by Shopify) </li> </ul>"
session.ends_at = Time.zone.local(2024, month, start_day, 13, 0)
session.location = break_location
end
Expand Down Expand Up @@ -442,26 +452,6 @@ namespace :db do
session.tags = [security, rails_8]
end

Session.find_or_create_by!(
conference: conference,
title: "Lightning Track",
starts_at: Time.zone.local(2024, month, start_day, 14, 15)
) do |session|
session.description = "Coming soon: Community Talks taking place during this break will be listed here."
session.ends_at = Time.zone.local(2024, month, start_day, 14, 45)
session.location = lightning_track
end

Session.find_or_create_by!(
conference: conference,
title: "Double Up Lab (sponsored by Test Double)",
starts_at: Time.zone.local(2024, month, start_day, 14, 15)
) do |session|
session.description = "" # TODO
session.ends_at = Time.zone.local(2024, month, start_day, 14, 45)
session.location = double_up_location
end

Session.find_or_create_by!(
conference: conference,
title: "An upgrade handbook to Rails 8",
Expand All @@ -486,26 +476,6 @@ namespace :db do
session.tags = [productivity, developer_experience]
end

Session.find_or_create_by!(
conference: conference,
title: "Lightning Track",
starts_at: Time.zone.local(2024, month, start_day, 15, 15)
) do |session|
session.description = "Coming soon: Community Talks taking place during this break will be listed here."
session.ends_at = Time.zone.local(2024, month, start_day, 15, 45)
session.location = lightning_track
end

Session.find_or_create_by!(
conference: conference,
title: "Double Up Lab (sponsored by Test Double)",
starts_at: Time.zone.local(2024, month, start_day, 15, 15)
) do |session|
session.description = "" # TODO
session.ends_at = Time.zone.local(2024, month, start_day, 15, 45)
session.location = double_up_location
end

Session.find_or_create_by!(
conference: conference,
title: "Frontiers of development productivity in Rails",
Expand Down Expand Up @@ -535,29 +505,39 @@ namespace :db do
title: "Matz & DHH Fireside chat, hosted by Tobias Lütke",
starts_at: Time.zone.local(2024, month, start_day, 16, 30)
) do |session|
session.description = "" # TODO
session.description = "We are pleased to welcome Ruby creator and special guest Yukihiro Matsumoto (Matz) to the Rails World stage for a fireside chat with Rails creator David Heinemeier Hansson (DHH). Together on stage for the very first time! Hosted by Shopify founder Tobias Lütke, this is sure to be a conversation you don’t want to miss."
session.ends_at = Time.zone.local(2024, month, start_day, 17, 30)
session.location = track_1
session.speakers = [matz_speaker, david_heinemeier_hansson_speaker, tobias_luetke_speaker]
session.tags = [community, insights]
end

Session.find_or_create_by!(
conference: conference,
title: "Toronto Ruby drinks sponsored by Clio",
starts_at: Time.zone.local(2024, month, start_day, 19, 0)
) do |session|
session.description = "Come hang out with the local Toronto Ruby meetup group. Grab a beer and have a bite, and recharge for Day 2. <br/><br/> This evening event wouldn’t be possible without the generous support and sponsorship of our Gold sponsor, Clio. Stop by their booth for a ticket to the event. Badges still required."
session.ends_at = Time.zone.local(2024, month, start_day, 22, 30)
session.location = tbd_attendees_location
end

Session.find_or_create_by!(
conference: conference,
title: "Doors Open",
starts_at: Time.zone.local(2024, month, second_day, 9, 0)
) do |session|
session.description = "Rails World attendees are welcome to enter Evergreen Brickworks, pick up your swag bag, and grab a coffee and light breakfast before the keynote begins."
session.description = "Rails World attendees are welcome to register, enter, and grab a coffee before the keynote begins."
session.ends_at = Time.zone.local(2024, month, second_day, 10, 0)
session.location = sponsor_lounge
end

Session.find_or_create_by!(
conference: conference,
title: "Keynote: The Myth of the Modular Monolith",
title: "Opening Keynote",
starts_at: Time.zone.local(2024, month, second_day, 10, 0)
) do |session|
session.description = "As Rails applications grow over time and turn into a so-called \"ball of mud\", organizations ask themselves what's next? Should we stay the course with a monolith or migrate to microservices? At Shopify we went down the path of modularizing our monolith and since then GitHub, Gusto, and others have followed our lead. But after 6 years it's time to ask ourselves: \"Did we fix what we set out to fix? Is this better than before?\""
session.description = "More information coming soon."
session.ends_at = Time.zone.local(2024, month, second_day, 11, 0)
session.location = track_1
session.speakers = [eileen_uchitelle_speaker]
Expand Down Expand Up @@ -589,10 +569,10 @@ namespace :db do

Session.find_or_create_by!(
conference: conference,
title: "Lunch (and other things to do in the breaks)",
title: "What to do in the breaks",
starts_at: Time.zone.local(2024, month, second_day, 11, 45)
) do |session|
session.description = "TODO" # TODO
session.description = "During lunch and breaks between sessions on both days, attendees can: <br/> <ul> <li> Catch 10-15 min Community talks on the Lightning Track (sponsored by Shopify) </li> <li> Chat with our sponsors in the Sponsor Garden </li> <li> Hang out in the Shopify Lounge </li> <li> Follow a workshop (sponsored by Coder) </li> <li> Drop by the Test Double Office Hours for pair programming and career advice </li> <li> Explore the historic venue </li> <li> Take a walk in the nature park located behind the venue </li> <li> Grab an espresso or latte from the coffee carts (sponsored by Cedarcode) </li> <li> Or grab an item from the Food Trucks (sponsored by Shopify) </li> </ul>"
session.ends_at = Time.zone.local(2024, month, second_day, 13, 0)
session.location = break_location
end
Expand Down Expand Up @@ -621,18 +601,6 @@ namespace :db do
session.tags = [performance, storage_solutions]
end

Session.find_or_create_by!(
conference: conference,
title: "The Modern Programmer’s Guide to Neovim and Zellij",
starts_at: Time.zone.local(2024, month, second_day, 13, 0)
) do |session|
session.description = "Are you ready to revolutionize your coding environment? In a world dominated by VS Code and other Electron-based editors, there's a hidden gem that developers are rediscovering: Vim. Or rather, Neovim. Just as Rails transformed web development, Neovim is redefining how we write code, blending decades-old technology with modern tooling for an unparalleled experience. <br/><br/> <strong>Workshop overview </strong>In this hands-on workshop, we dive into the world of Neovim and Zellij —showing you how to streamline your development process and achieve a true flow state. <br/><br/> <strong>Here's what you can expect</strong> </p> <ul> <li> Introduction to Neovim: Understand the core principles that make Neovim a game-changer in the modern programming landscape. </li> <li> Learn how to effortlessly manage and customize plugins to suit your unique work-flow, shedding the bloat of heavier editors. </li> <li> Combine the power of Neovim and Zellij to increase developer productivity by achieving your optimal flow state. </li> </ul> <br/> <strong>Key takeaways</strong> By the end of this 75-minute workshop, you will: <ul> <li> Have a solid understanding of Neovim's capabilities and how it can enhance your productivity. </li> <li> Manage workspaces using Zellij to jump in and out of projects with ease. </li> <li> Walk away with a Neovim setup that empowers you to code with minimal distractions, maximizing your efficiency and creativity. </li> </ul> <br/> <strong>Why Attend?</strong> This workshop is perfect for developers of all levels (with some familiarity with Vim) who are looking to optimize their workflow and embrace a lightweight, powerful, and highly customizable editor. Whether you're new to Neovim or looking to deepen your understanding, this session will provide you with practical skills and insights that you can apply immediately. <br/><br/> <strong>Thank you Coder!</strong> This workshop is brought to you by <a class='underline' href='https://coder.com/'>Coder</a>, and will be repeated on both days. It will be first-come, first-served."
session.ends_at = Time.zone.local(2024, month, second_day, 14, 15)
session.location = lightning_track
session.speakers = [chris_power_speaker, robert_beene_speaker]
session.tags = [productivity, tools, developer_experience]
end

Session.find_or_create_by!(
conference: conference,
title: "Making accessible web apps with Rails and Hotwire",
Expand All @@ -645,6 +613,18 @@ namespace :db do
session.tags = [hotwire]
end

Session.find_or_create_by!(
conference: conference,
title: "The Modern Programmer’s Guide to Neovim and Zellij",
starts_at: Time.zone.local(2024, month, second_day, 13, 0)
) do |session|
session.description = "Are you ready to revolutionize your coding environment? In a world dominated by VS Code and other Electron-based editors, there's a hidden gem that developers are rediscovering: Vim. Or rather, Neovim. Just as Rails transformed web development, Neovim is redefining how we write code, blending decades-old technology with modern tooling for an unparalleled experience. <br/><br/> <strong>Workshop overview </strong>In this hands-on workshop, we dive into the world of Neovim and Zellij —showing you how to streamline your development process and achieve a true flow state. <br/><br/> <strong>Here's what you can expect</strong> </p> <ul> <li> Introduction to Neovim: Understand the core principles that make Neovim a game-changer in the modern programming landscape. </li> <li> Learn how to effortlessly manage and customize plugins to suit your unique work-flow, shedding the bloat of heavier editors. </li> <li> Combine the power of Neovim and Zellij to increase developer productivity by achieving your optimal flow state. </li> </ul> <br/> <strong>Key takeaways</strong> By the end of this 75-minute workshop, you will: <ul> <li> Have a solid understanding of Neovim's capabilities and how it can enhance your productivity. </li> <li> Manage workspaces using Zellij to jump in and out of projects with ease. </li> <li> Walk away with a Neovim setup that empowers you to code with minimal distractions, maximizing your efficiency and creativity. </li> </ul> <br/> <strong>Why Attend?</strong> This workshop is perfect for developers of all levels (with some familiarity with Vim) who are looking to optimize their workflow and embrace a lightweight, powerful, and highly customizable editor. Whether you're new to Neovim or looking to deepen your understanding, this session will provide you with practical skills and insights that you can apply immediately. <br/><br/> <strong>Thank you Coder!</strong> This workshop is brought to you by <a class='underline' href='https://coder.com/'>Coder</a>, and will be repeated on both days. It will be first-come, first-served."
session.ends_at = Time.zone.local(2024, month, second_day, 14, 15)
session.location = lightning_track
session.speakers = [chris_power_speaker, robert_beene_speaker]
session.tags = [productivity, tools, developer_experience]
end

Session.find_or_create_by(
conference: conference,
title: "Prepare to tack - Steering Rails apps out of technical debt",
Expand All @@ -657,16 +637,6 @@ namespace :db do
session.tags = [performance, refactoring]
end

Session.find_or_create_by!(
conference: conference,
title: "Double Up Lab (sponsored by Test Double)",
starts_at: Time.zone.local(2024, month, second_day, 14, 15)
) do |session|
session.description = "" # TODO
session.ends_at = Time.zone.local(2024, month, second_day, 14, 45)
session.location = double_up_location
end

Session.find_or_create_by(
conference: conference,
title: "The Rails Boot Process",
Expand All @@ -691,16 +661,6 @@ namespace :db do
session.tags = [integrations, testing, best_practices]
end

Session.find_or_create_by!(
conference: conference,
title: "Double Up Lab (sponsored by Test Double)",
starts_at: Time.zone.local(2024, month, second_day, 15, 15)
) do |session|
session.description = "" # TODO
session.ends_at = Time.zone.local(2024, month, second_day, 15, 45)
session.location = double_up_location
end

Session.find_or_create_by(
conference: conference,
title: "Empowering the Individual - Rails on AI",
Expand Down Expand Up @@ -736,5 +696,15 @@ namespace :db do
session.speakers = [aaron_patterson_speaker]
session.tags = [community]
end

Session.find_or_create_by!(
conference: conference,
title: "Shopify Closing Party",
starts_at: Time.zone.local(2024, month, second_day, 19, 0)
) do |session|
session.description = "Join us as we close out Rails World with a takeover at the Shopify Port. Three floors of music, games, food, drink, and fun, with plenty of space for pair programming if you have any code you need to tackle. Pre-registration will be required (attendees will be sent more details). Don’t forget your badge!"
session.ends_at = Time.zone.local(2024, month, second_day, 22, 0)
session.location = shopify_port
end
end
end

0 comments on commit 67ef116

Please sign in to comment.