How do you execute arbitrary SQL with ActiveRecord?


#1

How do you execute arbitrary SQL with ActiveRecord?

I need to insert 40,000+ records, and the usual way is way too slow.
I’m using Oracle

Thanks
Chris


#2

On Tuesday 09 May 2006 11:55, you wrote:

How do you execute arbitrary SQL with ActiveRecord?

I need to insert 40,000+ records, and the usual way is way too slow.
I’m using Oracle

Thanks
Chris

ActiveRecord::Base.connection.execute(â??..â?)

Ashley