Array of object using ruby

I have an array of object and I want to sparte the value of array to new field .
this my array of object . I tried to use ruby but no luck unfortunately .

students = [ 

and the new field that value should be like this :

student 1 : id1:name1
student 2 :id2:name2
student3: id3:name3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.