Correct tab indention

git-svn-id: file:///home/svn/framework3/trunk@7642 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2009-11-29 23:36:40 +00:00
parent bfe2cc0c53
commit 05733b9d8d
1 changed files with 4 additions and 4 deletions

View File

@ -25,15 +25,15 @@ module DBSave
def self.included(mod)
class << mod
def find(*args)
ActiveRecord::Base.connection_pool.clear_stale_cached_connections!
Lock.mutex.synchronize do
ActiveRecord::Base.connection_pool.clear_stale_cached_connections!
Lock.mutex.synchronize do
super(*args)
end
end
def save(*args)
ActiveRecord::Base.connection_pool.clear_stale_cached_connections!
Lock.mutex.synchronize do
ActiveRecord::Base.connection_pool.clear_stale_cached_connections!
Lock.mutex.synchronize do
super(*args)
end
end