I am going to be using a concrete example for what I want to do, as I find this is the easiest way to make my point clear.
I would like to know how I could use the .find method to look for the student named "Frank" and turn his grade to "F", for example.
Here is what the nested array would look like in this example:
School data{
:name => "School Name",
:location => "NYC",
:students => [
{:name => "Steven", :grade => "B"},
{:name=>"Bob", :grade => "F"},
{:name => "Frank", :grade => "A"},
{:name => "Silvia", :grade => "C"}
]
}
Thank you very much.