mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-04 17:10:43 -04:00
Update customer.rb
This commit is contained in:
1 parent
7009387a00
commit
a715434f42
1 file changed
+1
-1
@@ -24,7 +24,7 @@ class Customer < ActiveRecord::Base
|
|||||||
|
|
||||||
self.primary_key = :id
|
self.primary_key = :id
|
||||||
|
|
||||||
def self.all
|
def all
|
||||||
Customer.skip_callback(:initialize, :after, :pull)
|
Customer.skip_callback(:initialize, :after, :pull)
|
||||||
customers = Customer.all
|
customers = Customer.all
|
||||||
Customer.set_callback(:initialize, :after, :pull)
|
Customer.set_callback(:initialize, :after, :pull)
|
||||||
|
|||||||
Reference in new issue
Block a user