Note that there are some explanatory texts on larger screens.

plurals
  1. POSent form isn't complete. Some fields are near by
    text
    copied!<p>When I am sending new form, some fields aren't put in final map - they are just near by. Have no idea why is it happening...</p> <p><strong>View - sending</strong></p> <pre><code>&lt;%= form_for :review, :url =&gt; { :action =&gt; "show" } do |f| %&gt; &lt;div class="field"&gt; &lt;%= f.label :owner %&gt;&lt;br /&gt; &lt;%= f.text_field :owner %&gt; &lt;/div&gt; &lt;div class="field"&gt; &lt;%= f.label :special %&gt;&lt;br /&gt; &lt;%= f.check_box :special %&gt; &lt;/div&gt; &lt;div class="field"&gt; &lt;%= f.label :overview %&gt;&lt;br /&gt; &lt;%= text_area_tag(:overview, "", :size =&gt; "24x6") %&gt; &lt;/div&gt; &lt;div class="field"&gt; &lt;%= label_tag(:service_overview, "overview") %&gt; &lt;%= radio_button_tag(:service, "overview") %&gt; &lt;%= label_tag(:service_repair, "repair") %&gt; &lt;%= radio_button_tag(:service, "repair") %&gt; &lt;/div&gt; &lt;div class="actions"&gt; &lt;%= f.submit "Next" %&gt; &lt;/div&gt; &lt;% end %&gt; </code></pre> <p><strong>Migration</strong></p> <pre><code>create_table :reviews do |t| t.string :owner t.string :service t.string :overview t.boolean :special t.integer :cost t.timestamps end </code></pre> <p>edit - and of course: <strong>Server log</strong></p> <pre><code> Parameters: {"commit"=&gt;"Next", "overview"=&gt;"123123", "service"=&gt;"repair", "re view"=&gt;{"special"=&gt;"1", "owner"=&gt;"aaaa"}, "authenticity_token"=&gt;"HehoAEoQRvLwFL9 yZsbBXzy4PI9a53JjtfM4rqtMUt8=", "utf8"=&gt;"Ôťô"} </code></pre> <p>Ok, I see, that in HTML there is difference between tags which are included in sent map and these, which aren't:</p> <pre><code> &lt;input id="review_special" name="review[special]" type="checkbox" value="1"&gt; &lt;input id="service_overview" name="service" type="radio" value="overview"&gt; </code></pre> <p>but still no idea how to fix it...</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload