mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-03 22:41:48 +01:00
New 'All projects' feed was reporting all projects as 'Done' because of a missing questionmark to test for truth. git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@241 a4c988fc-2ded-0310-b66e-134b36920a42
7 lines
206 B
Ruby
Executable file
7 lines
206 B
Ruby
Executable file
#!/usr/bin/env ruby
|
|
ActiveRecord::Base.lock_mutex
|
|
ActiveRecord::Base.connection.begin_db_transaction
|
|
at_exit do
|
|
ActiveRecord::Base.connection.rollback_db_transaction
|
|
ActiveRecord::Base.unlock_mutex
|
|
end
|