Displaying 2 results from an estimated 2 matches for "producttype_nam".
Did you mean:
producttype_name
2006 Aug 08
0
Couldn''t find Producttype without an ID
...t the above error. Any suggestion
</p>
<b>Product type:</b><br/>
<select name="Category[prodtype_id]">
<% @producttype.each do |producttype| %>
<option value="<%= producttype.id %>">
<%= producttype.producttype_name %>
</option>
<% end %>
</select>
</p>
Error is: Couldn''t find Producttype without an ID
2006 Aug 08
0
Error is: Couldn''t find Producttype without an ID
...t the above error. Any suggestion
</p>
<b>Product type:</b><br/>
<select name="Category[prodtype_id]">
<% @producttype.each do |producttype| %>
<option value="<%= producttype.id %>">
<%= producttype.producttype_name %>
</option>
<% end %>
</select>
</p>
Error is: Couldn''t find Producttype without an ID
Tables:
class CreateProducttypes < ActiveRecord::Migration
def self.up
create_table :producttypes do |t|
t.column :name, :string...