Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jb/872 traced errors: Handle some issues where an object might be nil #7

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

jbx26
Copy link
Collaborator

@jbx26 jbx26 commented Jul 14, 2015

Häufig sind die ActiveRecord, auf die eine Methode aufgerufen wird, nicht vorhanden.
Das ird nun an den Stellen geprüft, die im Callstack von NewRelic aufgeführt waren.

Es gibt sicher noch mehr Stellen. Die folgen in diesem Branch.

@attachment.author.title
else
''
end,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Einfacher: @attachment.author.try(:title)

@fiedl fiedl changed the title Jb/872 traced errors Jb/872 traced errors: Handle some issues where an object might be nil Sep 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants