diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-12-11 14:53:35 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-12-13 14:13:52 +0900 |
commit | d4007d5a54b60bd6924eeffb52c126ed32e9f31f (patch) | |
tree | af37d31ea93a287efe7cb49b8aaef3bf8d001d57 /guides/assets/javascripts/jquery.min.js | |
parent | f5735ff7d470c2174f06407008e9809d8d9c1574 (diff) | |
download | rails-d4007d5a54b60bd6924eeffb52c126ed32e9f31f.tar.gz rails-d4007d5a54b60bd6924eeffb52c126ed32e9f31f.tar.bz2 rails-d4007d5a54b60bd6924eeffb52c126ed32e9f31f.zip |
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.
Diffstat (limited to 'guides/assets/javascripts/jquery.min.js')
0 files changed, 0 insertions, 0 deletions