mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-04 09:10:43 -04:00
Update customer.rb
This commit is contained in:
1 parent
454613c1ba
commit
24f4e9ecf2
1 file changed
+1
-1
@@ -133,7 +133,7 @@ class Customer < ActiveRecord::Base
|
||||
|
||||
private
|
||||
|
||||
def background(&block)
|
||||
def self.background(&block)
|
||||
Thread.new do
|
||||
yield
|
||||
ActiveRecord::Base.connection.close
|
||||
|
||||
Reference in new issue
Block a user