It is very hard need help
it keeps saying that i
need to create a movie
hash when i already did.


Hi can you post your code? So that we could help yo.


movies = {
"the lion king" => 5
puts "What do you want to do? (add, update, display, delete)"
choice = gets.chomp

case choice
when "add"
puts "What movie would you like to add?"
title = gets.chomp
if movies[title].nil?
puts "enter your movie rating"
rating = gets.chomp
movies[title] = rating
puts "#{title} has been added with #{rating}"
"that movie already exists!"
when "update"
puts "updated"
when "display"
puts "Movies"
when "delete"
puts "Deleted"
puts "Jammer de bammer"