Insert Multiple records in table

Hi

Here I want to insert multiple records into a single table.
Table is users.: email, password, password_confirmation and country…
“Add one more” functionality is also there so multiple records can be
vary…

There are two problems for me.

1, How to create/insert the records :(might be using array text
fields…)

  1. If there is not valid record then how can I restore the value in the
    text field.

So can anyone help me ?

Thanks
Brijesh S.

http://ryandaigle.com/articles/2009/2/1/what-s-new-in-edge-rails-nested-attributes

On Mon, Nov 2, 2009 at 4:04 PM, Brijesh S. <
[email protected]> wrote:

1, How to create/insert the records :(might be using array text
Posted via http://www.ruby-forum.com/.


http://ryandaigle.com/articles/2009/2/1/what-s-new-in-edge-rails-nested-attributes
Sandip

Sandip R. wrote:

http://ryandaigle.com/articles/2009/2/1/what-s-new-in-edge-rails-nested-attributes

On Mon, Nov 2, 2009 at 4:04 PM, Brijesh S. <
[email protected]> wrote:

1, How to create/insert the records :(might be using array text
Posted via http://www.ruby-forum.com/.


http://ryandaigle.com/articles/2009/2/1/what-s-new-in-edge-rails-nested-attributes
Sandip

www.funonrails.com

Thanks , but this link is not my solution

This link will help me to insert multiple records in different (nested
table)
where I want to insert multiple records in same table with
validations…

Thanks
Brijesh S.

Check out ar-extensions (http://www.continuousthinking.com/tags/
arext). Here’s an article that explains the usage:
http://www.jobwd.com/article/show/31.

Specifically, you’ll probably want to look at the import method it
provides. You can tell it whether or not you want to use validations
as well.

Jon

On Nov 2, 5:01 am, Brijesh S. [email protected]