# Turning off activerecord transactions

**URL:** <https://www.ruby-forum.com/t/turning-off-activerecord-transactions/105713>\
**Category:** Rails\
**Created:** [June 1, 2007, 5:50pm UTC](https://www.ruby-forum.com/t/turning-off-activerecord-transactions/105713 "2007-06-01T17:50:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Balatero](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/96bed5/32.png) [@David\_Balatero](https://www.ruby-forum.com/u/David_Balatero)\
**Post date:** [June 1, 2007, 5:50pm UTC](https://www.ruby-forum.com/t/turning-off-activerecord-transactions/105713/1 "2007-06-01T17:50:33Z")

</div>

I have an import script that uses ActiveRecord, but it is generating a  
single transaction per SQL query. My import script is also threaded, so  
I  
don’t want to use ActiveRecord::Base.transaction {} blocks in my  
threads. Is  
there a config option that will just let me turn off transactions  
altogether?

Thanks,  
David Balatero
