How do you execute arbitrary SQL with ActiveRecord?

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

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

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