aboutsummaryrefslogtreecommitdiffstats
path: root/activejob/test/jobs/application_job.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-12-11 14:53:35 +0900
committerRyuta Kamizono <kamipo@gmail.com>2017-12-13 14:13:52 +0900
commitd4007d5a54b60bd6924eeffb52c126ed32e9f31f (patch)
treeaf37d31ea93a287efe7cb49b8aaef3bf8d001d57 /activejob/test/jobs/application_job.rb
parentf5735ff7d470c2174f06407008e9809d8d9c1574 (diff)
downloadrails-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 'activejob/test/jobs/application_job.rb')
0 files changed, 0 insertions, 0 deletions