mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 17:04:23 -05:00
Update customer.rb
This commit is contained in:
@@ -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