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:
@@ -24,7 +24,7 @@ class Customer < ActiveRecord::Base
|
||||
|
||||
self.primary_key = :id
|
||||
|
||||
def self.all
|
||||
def all
|
||||
Customer.skip_callback(:initialize, :after, :pull)
|
||||
customers = Customer.all
|
||||
Customer.set_callback(:initialize, :after, :pull)
|
||||
|
||||
Reference in New Issue
Block a user