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
While .. and .. is now permitted by the default RuboCop settings, the main problem I see with the render ... and return pattern is that it incorrectly suggests we should not return if the render part somehow fails.
Previously this pattern was used in the Rails docs examples but is now discouraged:
https://github.com/rails/rails/pull/45927/files
The text was updated successfully, but these errors were encountered: