1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties/lib/rails/commands/runner
yuuji.yaginuma daa592293b 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
2017-09-22 10:42:28 +09:00
..
runner_command.rb Use TOPLEVEL_BINDING in rails runner command 2017-09-22 10:42:28 +09:00
USAGE support - as an argument to rails runner 2017-07-17 13:46:44 -06:00