You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would you like to add a brief explanation to why it's a good (fair use) example?
I can suggest digging through real-world-rails/real-world-ruby-apps for inspiration.
I'm definitely happy to help the project--- I'm struggling with my orthodoxy of not seeing rescue nil as acceptable in any case, heh. I'll need to come to terms with that. I'll browse in those examples.
I'm fine if you want to close the issue so that it doesn't add noise.
Thank you for the super fast and detailed response!
At https://github.com/rubocop/ruby-style-guide#suppressing-exceptions, it says "Don't suppress" exceptions, but then lists
do_something rescue nil
as a good example.It could be my ignorance, but that reads like an example of suppressing an exception. Am I misunderstanding? Apologies if so.
The text was updated successfully, but these errors were encountered: