-
Notifications
You must be signed in to change notification settings - Fork 128
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
There are cases where default value is not set in STI since Rails 8.0.1 #100
Comments
Before Rails 8.0.1, inherited singleton methods were included in default_value_for/lib/default_value_for.rb Lines 78 to 85 in 2196b23
|
Thank you @k-tsuchiya-jp for this very good bug report with rails 8. Thank you for the bug report and the proposed solution in #101. I'll review it over there. |
@k-tsuchiya-jp pushed 4.1.1... thanks again! |
@jrafanie |
Steps to reproduce
Expected behavior
Actual behavior
nil
System configuration
Rails version: 8.0.1
Ruby version: 3.3.5
DefaultValueFor version: 4.1.0
Additional information
It seems to be caused by the modification of
class_attribute
method in Rails 8.0.1.rails/rails#53640
The text was updated successfully, but these errors were encountered: