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

Handle both rails 7.2 and rails 8.0 field types for checkbox/textarea #418

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

Earlopain
Copy link
Contributor

Followup to #416

They got renamed (with aliases being present) in:

This ensures the correct classes are generated for both old and new versions. I added a test locally but it can only assert against the exact css classes since there is nothing else to properly distinquish them. I can add this here if you wish, just didn't seem like the best test.

@enderahmetyurt, I suspect you generated your sample app with rails 8.0.0.beta1 which is why it looked weird for you.

They got renamed in:
* rails/rails#52432
* rails/rails#52467

This ensures the correct classes are generated for both old and new versions
@enderahmetyurt
Copy link
Contributor

Good job @Earlopain yes I created rails 8.0.0.beta1

@flavorjones
Copy link
Member

@Earlopain Thank you for catching this!

@flavorjones flavorjones merged commit 061a354 into rails:main Oct 10, 2024
11 checks passed
@Earlopain Earlopain deleted the checkbox-proper branch October 10, 2024 21:18
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.

4 participants