mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-11-18 10:30:36 -05:00
Update customer.rb
This commit is contained in:
1 parent
cae904b5a8
commit
5117e7a479
1 file changed
+2
-1
@@ -26,8 +26,9 @@ class Customer < ActiveRecord::Base
|
|||||||
|
|
||||||
def self.all
|
def self.all
|
||||||
Customer.without_callback(:initialize, :after, :pull) do
|
Customer.without_callback(:initialize, :after, :pull) do
|
||||||
return Customer.all
|
customers = Customer.all
|
||||||
end
|
end
|
||||||
|
return customers
|
||||||
end
|
end
|
||||||
|
|
||||||
# returns a human readable string
|
# returns a human readable string
|
||||||
|
|||||||
Reference in new issue
Block a user