Displaying 2 results from an estimated 2 matches for "bar_".
Did you mean:
bar
2006 May 31
7
How do you create a controller & view to create a list of objects?
..._________]
Bar #4 Name: [_______________________]
Bar #5 Name: [_______________________]
So, trying to follow the example from
http://api.rubyonrails.org/classes/ActionView/Helpers/FormHelper.html, I
added this to app/views/foos/_form.rhtml:
<% 5.times do |i| %>
<p><label for="bar_<%= i %>_name"/><br/>
<%= text_field ''bar[]'', ''name'' %></p>
<% end %>
But I get this error:
You have a nil object when you didn''t expect it!
You might have expected an instance of ActiveRecord::Base.
The error occur...
2004 Jul 30
1
[fdo] [daniel@freedesktop.org: Timeline, and slippage]
..._
platform mailing list
platform@freedesktop.org
http://freedesktop.org/mailman/listinfo/platform
----- End forwarded message -----
--
Daniel Stone <daniel@fooishbar.org>
"The programs are documented fully by _The Rise and Fall of a Fooish Bar_,
available by the Info system." -- debian/manpage.sgml.ex, dh_make template
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://freedesktop.org/pipermail/freedeskt...