my array of hash is the below one.
[{"status"=>"Submitted", "reachable"=>false},
{"status"=>"Replied", "reachable"=>false},
{"status"=>"Answered", "reachable"=>false},
{"status"=>"Assigned", "reachable"=>false},
{"status"=>"Started", "reachable"=>true},
{"status"=>"Closed", "reachable"=>false},
{"status"=>"Canceled", "reachable"=>true}]
I need the "status" values and display them in a dropdown in a html with embedded ruby code. Can anyone of you let me know the sample code ?
I am pretty much new to ruby and getting confused alot in iterations and displaying the values in the dropdown.