aboutsummaryrefslogtreecommitdiffstats
path: root/RELEASING_RAILS.md
diff options
context:
space:
mode:
authorLeonel Galan <leonelgalan@gmail.com>2017-09-06 13:31:23 -0400
committerLeonel Galan <leonelgalan@gmail.com>2018-01-22 10:04:47 -0500
commit3562331669443b600f1cf9fd93a0cddaaf94d319 (patch)
treebd19f9c4b9452e4961bbcbe16002cb370d9c76ca /RELEASING_RAILS.md
parent7bb0b397ea51b0e41b5ebdf4fe5edcfc7345b600 (diff)
downloadrails-3562331669443b600f1cf9fd93a0cddaaf94d319.tar.gz
rails-3562331669443b600f1cf9fd93a0cddaaf94d319.tar.bz2
rails-3562331669443b600f1cf9fd93a0cddaaf94d319.zip
Ignores a default subclass when `becomes(Parent)`
Fixes issue described in #30399: A default value on the inheritance column prevented `child.becomes(Parent)` to return an instance of `Parent` as expected, instead it returns an instance of the default subclass. The change was introduced by #17169 and it was meant to affect initialization, alone. Where `Parent.new` is expected to return an instance of the default subclass.
Diffstat (limited to 'RELEASING_RAILS.md')
0 files changed, 0 insertions, 0 deletions