这是我的参数哈希。我只想获取每个名称和 email_id 并想进一步处理这些。请告诉我我怎样才能得到这个。帮助我,因为我是 Rails 新手。
{
"utf8"=>"✓",
"_method"=>"put",
"authenticity_token"=>"VBJ7NrYDzftlVMYdfNewxADAEGWE8ctau4Zpx3JcjbQ=",
"game_school"=>{
"game_school_invites_attributes"=>{
"name"=>"AAA",
"email"=>"aa@bb.com",
"1359712354138"=>{
"name"=>"ABCD",
"email"=>"aaa@aaa.com"
},
"1359712366842"=>{
"name"=>"CC",
"email"=>"bbb.aa@gmail.com"
}
}
},
"commit"=>"invite",
"model1_id"=>"5",
"model2_id"=>"4"
}