Skip to content
  • yuuji.yaginuma's avatar
    daa59229
    Use `TOPLEVEL_BINDING` in rails runner command · daa59229
    yuuji.yaginuma authored
    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
    daa59229
    Use `TOPLEVEL_BINDING` in rails runner command
    yuuji.yaginuma authored
    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
Loading