title: Appending to JSON array in Ruby
body: <p>I am looking to append to a JSON array in ruby. The JSON array looks like this:</p>
  
  <p><code>{"data" : [{"name":"Chris","long":10,"lat":19}, {"name":"Scott","long":9,"lat":18}]}</code></p>
  
  <p>I want to be able to append another object to this array e.g </p>
  
  <p><code>{"name":"John","long":20,"lat":45}</code></p>
  
  <p>How can I do this?</p>