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
c665f5e27b
commit
9876ebf6ed
1 file changed
+6
@@ -24,6 +24,12 @@ class Customer < ActiveRecord::Base
|
|||||||
|
|
||||||
self.primary_key = :id
|
self.primary_key = :id
|
||||||
|
|
||||||
|
def self.all
|
||||||
|
without_callback(:initialize, :after, :pull) do
|
||||||
|
return all
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# returns a human readable string
|
# returns a human readable string
|
||||||
def to_s
|
def to_s
|
||||||
return name
|
return name
|
||||||
|
|||||||
Reference in new issue
Block a user