Batch save in CastleProject ActiveRecord
        Posted  
        
            by Alex
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Alex
        
        
        
        Published on 2010-03-19T09:29:07Z
        Indexed on 
            2010/03/19
            9:31 UTC
        
        
        Read the original article
        Hit count: 200
        
castle-activerecord
I need to save thousand of records in a database. I am using CastleProject ActiveRecord. The cycle which stores that amount of objects works too long.
Is it possible to run saving in a batch using ActiveRecord? What is recommended way to improve performance?
© Stack Overflow or respective owner