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

Fix: Rename text_area helper to textarea for Rails 8 compatibility #181

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aki77
Copy link

@aki77 aki77 commented Nov 27, 2024

This PR addresses the issue where the text_area helper is no longer functional in Rails 8 due to its renaming to textarea.

rails/rails#52467

Rename text_area to textarea
@Spone
Copy link
Collaborator

Spone commented Nov 28, 2024

Hi @aki77 thanks for contributing! Can you please add some tests to your PR?

@aki77
Copy link
Author

aki77 commented Nov 28, 2024

@Spone

Thank you for your response.

Since the output of the standard text_area helper and the ViewComponent::Form::TextAreaComponent is exactly the same, I’m struggling to figure out how to write a test to verify that the ViewComponent::Form::TextAreaComponent is actually being used.

Do you have any ideas or examples of similar tests that might be helpful?

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