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

Outdated note for the Rails/ContentTag cop #1218

Closed
ydakuka opened this issue Dec 16, 2023 · 0 comments
Closed

Outdated note for the Rails/ContentTag cop #1218

ydakuka opened this issue Dec 16, 2023 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@ydakuka
Copy link

ydakuka commented Dec 16, 2023

Allow tag when the first argument is a variable because tag(name) is simpler rather than tag.public_send(name). And this cop will be renamed to something like LegacyTag in the future. (e.g. RuboCop Rails 2.0)

Current version: > 2.0

@ydakuka ydakuka changed the title Outdated description for the Rails/ContentTag cop Outdated note for the Rails/ContentTag cop Dec 16, 2023
@koic koic added the documentation Improvements or additions to documentation label Dec 17, 2023
@koic koic closed this as completed in 1fe6385 Dec 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants