{"id":681,"date":"2022-08-30T15:05:24","date_gmt":"2022-08-30T15:05:24","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/09\/bootstrap_form-error-undefined-method-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:05:24","modified_gmt":"2022-08-30T15:05:24","slug":"bootstrap_form-error-undefined-method-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/bootstrap_form-error-undefined-method-collection-of-common-programming-errors\/","title":{"rendered":"bootstrap_form error undefined method-Collection of common programming errors"},"content":{"rendered":"<p>1- I installed gem bootstrap_form<br \/>\n2- I wrote in application.css that line <code>*= require bootstrap_form before the *\/<\/code> 3- in my html.erb<\/p>\n<pre><code> student_guardians_path(@student),\nhtml: { class: 'form-horizontal' },\nmethod: :post) do |f| %&gt;\n<\/code><\/pre>\n<p>And I am getting the following error : <code>undefined method<\/code>bootstrap_form_for&#8217; for #`<\/p>\n<p id=\"rop\"><small>Originally posted 2013-11-09 21:38:30. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>1- I installed gem bootstrap_form 2- I wrote in application.css that line *= require bootstrap_form before the *\/ 3- in my html.erb student_guardians_path(@student), html: { class: &#8216;form-horizontal&#8217; }, method: :post) do |f| %&gt; And I am getting the following error : undefined methodbootstrap_form_for&#8217; for #` Originally posted 2013-11-09 21:38:30.<\/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-681","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/681","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=681"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/681\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=681"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=681"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=681"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}