aboutsummaryrefslogtreecommitdiffstats
path: root/railties/CHANGELOG.md
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2018-12-15 17:58:09 +0900
committerRyuta Kamizono <kamipo@gmail.com>2018-12-15 18:07:13 +0900
commitce48b5a366482d4b4c4c053e1e39e79d71987197 (patch)
treeec6c896a4f279206deede9281d64a5985f8a52fb /railties/CHANGELOG.md
parentd57841b5c453370598f00dccd68000ae18c9ef58 (diff)
downloadrails-ce48b5a366482d4b4c4c053e1e39e79d71987197.tar.gz
rails-ce48b5a366482d4b4c4c053e1e39e79d71987197.tar.bz2
rails-ce48b5a366482d4b4c4c053e1e39e79d71987197.zip
Prevent infinit method_missing loop on attribute methods
If a klass has acceptance validation and then `klass.undefine_attribute_methods` is happened before an attribute method is called, infinit loop is caused on the `method_missing` defined by the `LazilyDefineAttributes`. https://travis-ci.org/rails/rails/jobs/467053984#L1409 To prevent the infinit loop, the `method_missing` should ensure `klass.define_attribute_methods`.
Diffstat (limited to 'railties/CHANGELOG.md')
0 files changed, 0 insertions, 0 deletions