Back to Parent

locations = []
fun_facts = []
 

output.each do |row|
      if row["locations"]
            locations.push(row["locations"])
      end
      if row["fun_facts"].to_s != ""
            fun_facts.push(row["fun_facts"])                    
      end 
end
Click to Expand

Content Rating

Is this a good/useful/informative piece of content to include in the project? Have your say!

0