mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
d4007d5a54
We need to pass scope attributes to `klass.new` to detect subclass. Otherwise `subclass_from_attributes` can't detect subclass which is had in scope attributes. Fixes #18062. Closes #18227. Closes #30720. |
||
---|---|---|
.. | ||
active_record | ||
rails/generators | ||
active_record.rb |