contacts_client 0.0.16 → 0.0.17
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/contacts/belongs_to_contact.rb +1 -1
- metadata +1 -1
@@ -18,7 +18,7 @@ module BelongsToContact
|
|
18
18
|
# @return [PadmaContact / PadmaContactDecorator]
|
19
19
|
def contact(options={})
|
20
20
|
if self.padma_contact.nil? || options[:force_service_call]
|
21
|
-
self.padma_contact = PadmaContact.find(contact_id, {:account_name
|
21
|
+
self.padma_contact = PadmaContact.find(contact_id, {select: :all, account_name: self.account_name})
|
22
22
|
end
|
23
23
|
ret = padma_contact
|
24
24
|
if options[:decorated] && padma_contact
|