Should have done a little more digging myself, gonna give this a shot:
http://thebitt.blogspot.com/2006/01/multiple-record-forms-for-ruby-on.ht
ml
________________________________
From: rails-bounces@lists.rubyonrails.org
[mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Nathan P.
Verni
Sent: Friday, May 26, 2006 12:56 PM
To: rails@lists.rubyonrails.org
Subject: [Rails] Form for Multiple Models
I have a signup form that needs to do these three things:
1) create a new "Group"
2) create a new "User"
3) Add that User to the Group
I have the scaffolding for the create new user form:
<% form_for :user do |form| %>
<p>
<label for="user_name">First Name:</label>
<%= form.text_field :first_name, :size => 40 %>
</p>
# ...
<% end %>
I want to add a "Group Name" field to this same form so that the
controller can use it to create a new Group in the database and then do
the typical @user.save, etc...
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://wrath.rubyonrails.org/pipermail/rails/attachments/20060526/f3820eb6/attachment.html