Skip to content

Instantly share code, notes, and snippets.

@keokent
Created May 24, 2013 03:59
Show Gist options
  • Save keokent/5641212 to your computer and use it in GitHub Desktop.
Save keokent/5641212 to your computer and use it in GitHub Desktop.
Rails Tutorial Chapter4 Exercises 3
person1 = {:first => "Gendo", :last => "Ikari"}
person2 = {:first => "Yui", :last => "Ikari"}
person3 = {:first => "Shinji", :last => "Ikari"}
params = {:father => person1, :mother => person2, :child => person3}
p params[:father][:first]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment