1000 inserts efficiently?

Hi guys,
I’m new with RoR, and so far I’m loving it.
I got a question: ¿How is the most efficient way to insert 1000
records on the same table?
I’m trying to insert allot of “items” on the same table, but, right
now I’m creating an “item” object, with the data, and then call
item.save.

¿Is there any other way to do this more efficiently?
P.S: I don’t need validation, etc…

Thanks for all, :slight_smile:

On May 17, 3:24 pm, saptah [email protected] wrote:

Write some custom sql to insert rows several at a time. The ar-
extensions gem does this if my memory is correct

Fred

Hi!
Thanks for the answer.
I’ve been reading, and I think this is just want I need.

Thanks again.

On May 17, 6:27 pm, Frederick C. [email protected]