# Extra phantom commits

**URL:** <https://www.ruby-forum.com/t/extra-phantom-commits/90658>\
**Category:** Rails\
**Created:** [March 30, 2007, 7:04pm UTC](https://www.ruby-forum.com/t/extra-phantom-commits/90658 "2007-03-30T19:04:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![simon1](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/fbc32d/32.png) [@simon1](https://www.ruby-forum.com/u/simon1)\
**Post date:** [March 30, 2007, 7:04pm UTC](https://www.ruby-forum.com/t/extra-phantom-commits/90658/1 "2007-03-30T19:04:24Z")

</div>

Hi,

I have an application that queries one database table, and then  
performs some XML parsing, and then should save some more info in  
another table. However, when I tail the development log, there are a  
bunch of empty commits to the database. For example:

[4;36;1mClient Load (0.000000) [0m [0;1mSELECT \* FROM clients WHERE  
(unique\_id = ‘55277-OEM-0011903-00102’) LIMIT 1 [0m  
[4;35;1mSQL (0.000000) [0m [0mBEGIN [0m  
[4;36;1mSQL (0.000000) [0m [0;1mCOMMIT [0m  
[4;35;1mSQL (0.000000) [0m [0mBEGIN [0m  
[4;36;1mSQL (0.000000) [0m [0;1mCOMMIT [0m  
[4;35;1mSQL (0.000000) [0m [0mBEGIN [0m  
[4;36;1mSQL (0.000000) [0m [0;1mCOMMIT [0m  
[4;35;1mPeripheralAp Load (0.016000) [0m [0mSELECT \* FROM  
peripheral\_aps WHERE (mac = ‘00:0D:67:00:66:4B’) ORDER BY date\_seen  
DESC [0m

There are three pairs of BEGIN/COMMIT that don’t seem to do anything,  
and there are no calls to save between the two legitimate SQL  
queries. Does anybody have any idea what might be causing this?

Thanks,

Simon
