Ruby on Rails
Saturday, October 26, 2019
param is missing or the value is empty: item
<%= form_tag new_item_path(@item), :method => :get do %>
<div class="field">
<%= select_tag(:item_type, options_for_select(Item::ITEM_TYPES)) %>
</div>
<div class="actions">
<%= submit_tag "New item" %>
</div>
<% end %>
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/8b36a925-810f-42f6-a155-d34f807b8448%40googlegroups.com.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment