{"id":923,"date":"2022-08-30T15:09:26","date_gmt":"2022-08-30T15:09:26","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/09\/undefined-method-simple_nested_form_for-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:09:26","modified_gmt":"2022-08-30T15:09:26","slug":"undefined-method-simple_nested_form_for-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/undefined-method-simple_nested_form_for-collection-of-common-programming-errors\/","title":{"rendered":"undefined method `simple_nested_form_for&#39;-Collection of common programming errors"},"content":{"rendered":"<p>I&#8217;m getting this error when trying to use the nested_form Rails plugin, what&#8217;s wrong?<\/p>\n<p>I&#8217;ve set my Gem file to say <code>gem \"nested_form\", :git =&gt; 'git:\/\/github.com\/ryanb\/nested_form.git'<\/code><\/p>\n<p>I&#8217;ve installed the plugin (I&#8217;m using Rails 3.1) and I&#8217;ve restarted my server.<\/p>\n<p><strong>Edit:<\/strong> I also moved the nested_form.js to the \/assets\/javascript\/ folder because loading it in the public folder gave me a Routing Error if I clicked on it in the source.<\/p>\n<p id=\"rop\"><small>Originally posted 2013-11-09 22:58:34. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>I&#8217;m getting this error when trying to use the nested_form Rails plugin, what&#8217;s wrong? I&#8217;ve set my Gem file to say gem &#8220;nested_form&#8221;, :git =&gt; &#8216;git:\/\/github.com\/ryanb\/nested_form.git&#8217; I&#8217;ve installed the plugin (I&#8217;m using Rails 3.1) and I&#8217;ve restarted my server. Edit: I also moved the nested_form.js to the \/assets\/javascript\/ folder because loading it in the public [&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-923","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/923","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=923"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/923\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=923"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=923"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=923"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}