aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/plugin
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2017-09-22 10:29:23 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2017-09-22 10:42:28 +0900
commitdaa592293b5a10f487cc9000863e052d2a28884f (patch)
tree0940c213cf952cd826c1d028afd298deade37975 /railties/lib/rails/plugin
parent6c199967fc5c32155684b95628751eb1b5098e13 (diff)
downloadrails-daa592293b5a10f487cc9000863e052d2a28884f.tar.gz
rails-daa592293b5a10f487cc9000863e052d2a28884f.tar.bz2
rails-daa592293b5a10f487cc9000863e052d2a28884f.zip
Use `TOPLEVEL_BINDING` in rails runner command
Binding to capture the local scope. This means that if a constant with same name as constant specified by the user exists in local scope, constant defined in local will use. This is different from what the user expects. Therefore, fixed to use top-level binding instead of local scope. Fixes #30644
Diffstat (limited to 'railties/lib/rails/plugin')
0 files changed, 0 insertions, 0 deletions