ActiveRecord, can it save more than one row at a time?


I wonder if there is some fonctions which allow an
activeRecord to save more than one row at a time???

As I understand, when we create an object from
AC::Base, it represents one row of the table. So if I
want to save more than one row, I have to create the
object one by one and then save them one by one. If I
have 10, it is fine, but if I have more than 1000, so
it will a lot of time… So I wonder is there any way
to do this???

Thanks you very much


The mind is its own place, and in itself.
Can make a Heaven of Hell, a Hell of Heaven.

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around

Check out this article…

When he is done with this and releases it should enhance dealing with
datasets dramatically.


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs