1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/lib
Ryuta Kamizono d4007d5a54 Fix inheritance object creation from relation
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.
2017-12-13 14:13:52 +09:00
..
active_record Fix inheritance object creation from relation 2017-12-13 14:13:52 +09:00
rails/generators
active_record.rb