Hello, I am trying to optimize my Rails code for database inserts. I often have to insert/update several thousand records after web crawls. Once I have all the data to insert/update, what are some good ways to optimize this? I''ve looked into doing multiple inserts using object- level transactions. However, the Rails API states that this functionality is deprecated (http://api.rubyonrails.org/classes/ ActiveRecord/Transactions/ClassMethods.html#M000681). What is the preferred method? Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---