Displaying 1 result from an estimated 1 matches for "customer_rank".
2006 Jan 03
6
Am I going too far or Rails is just confusing? was {validates_presence_of *_id attributes}
...%= text_field ''customer'', ''phone'' %></p>
<p><label for="customer_address">Address</label><br />
<%= text_field ''customer'', ''address'' %></p>
<p><label for="customer_rank">Rank</label><br />
<%= select ''customer'', ''rank'', Rank.find_all.collect { |r| [
r.description, r.id ] } %></p>
<!--[eoform:customer]-->
2. Let''s try
Go to http://localhost:3000/admin/customers/new
Then just press...