We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Compare the content of app/views/comments/_comment.html.erb between rails-getting-started-guide#using-concerns and rails-getting-started-guide#deleting-comments, a unless statement is missing in rails-getting-started-guide#deleting-comments. See the images attached below
app/views/comments/_comment.html.erb
unless
_comment.html.erb
app/views/comments/_comment.html.erb in both rails-getting-started-guide#using-concerns and rails-getting-started-guide#deleting-comments should have the below unless statement
<% unless comment.archived? %> ... ... <% end %>
unless statement is missing from app/views/comments/_comment.html.erb in rails-getting-started-guide#deleting-comments
Rails version: v7.0.3.1
Ruby version: NA
I have raised a PR #45692 to fix this issue in the documentation
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Steps to reproduce
Compare the content of
app/views/comments/_comment.html.erb
between rails-getting-started-guide#using-concerns and rails-getting-started-guide#deleting-comments, aunless
statement is missing in rails-getting-started-guide#deleting-comments. See the images attached belowContents of
_comment.html.erb
from Using Concerns sectionContents of
_comment.html.erb
from Deleting Comments sectionExpected behavior
app/views/comments/_comment.html.erb
in both rails-getting-started-guide#using-concerns and rails-getting-started-guide#deleting-comments should have the belowunless
statementActual behavior
unless
statement is missing fromapp/views/comments/_comment.html.erb
in rails-getting-started-guide#deleting-commentsSystem configuration
Rails version: v7.0.3.1
Ruby version: NA
I have raised a PR #45692 to fix this issue in the documentation
The text was updated successfully, but these errors were encountered: