{"id":1178,"date":"2022-08-30T15:13:41","date_gmt":"2022-08-30T15:13:41","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/09\/save-multiple-google-maps-points-as-nested-attributes-on-rails-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:13:41","modified_gmt":"2022-08-30T15:13:41","slug":"save-multiple-google-maps-points-as-nested-attributes-on-rails-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/save-multiple-google-maps-points-as-nested-attributes-on-rails-collection-of-common-programming-errors\/","title":{"rendered":"Save multiple google maps points as nested attributes on Rails-Collection of common programming errors"},"content":{"rendered":"<p>I have created a scaffold named &#8220;Travel&#8221;, which have as nested attribute &#8220;Points&#8221;.<\/p>\n<p>When I go to the &#8220;edit&#8221; page of &#8220;Travel&#8221;, I open the js of google maps, and I want to let the users to add as many points as they want.<\/p>\n<p>I don&#8217;t know how to do multiple posts to rails for save an undefined number of points.<\/p>\n<p>Thank you to all.<\/p>\n<p id=\"rop\"><small>Originally posted 2013-11-09 23:36:52. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>I have created a scaffold named &#8220;Travel&#8221;, which have as nested attribute &#8220;Points&#8221;. When I go to the &#8220;edit&#8221; page of &#8220;Travel&#8221;, I open the js of google maps, and I want to let the users to add as many points as they want. I don&#8217;t know how to do multiple posts to rails for [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1178","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1178","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=1178"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1178\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=1178"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=1178"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=1178"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}