How to insert multiple records into database using one form

22 views
Skip to first unread message

Ephraim A.

unread,
Jan 14, 2015, 1:46:08 AM1/14/15
to rubyonra...@googlegroups.com
I have 4 tables from the first table, I took all data from the two
columns and displayed it in the view. For each data, I have two text
fields and the user is supposed to fill those data. Having filled data
into the text field, how can I insert all the records into the second
table using one form only?

Ephraim A.

--
Posted via http://www.ruby-forum.com/.

clayton cottingham

unread,
Jan 14, 2015, 2:23:26 AM1/14/15
to rubyonra...@googlegroups.com
i just searched google to figure this out a cpl days ago

synopsis:

use build

http://archive.railsforum.com/viewtopic.php?id=717
> --
> 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-ta...@googlegroups.com.
> To post to this group, send email to rubyonra...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/c6fe649fbc019fb5b35f9719dc5604a2%40ruby-forum.com.
> For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages