Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
added a safe navigation operator to contact.rb
ij committed Jun 30, 2022
1 parent a4cfd3a commit a6f2277
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sf/contact.rb
@@ -117,7 +117,7 @@ def self.where(args = {})
end

def self.find_by(args = {})
where(args).first
where(args)&.first
end

def self.inc_execs_for(account_id = '')

0 comments on commit a6f2277

Please sign in to comment.