Skip to content
  • Andrew White's avatar
    86bcd2d8
    Allow render locals to be assigned to instance variables · 86bcd2d8
    Andrew White authored
    In #26672 we blocked use of Ruby keywords as identifiers for view
    locals but inadvertently broke the use of instance variable names
    as identifiers. Whilst not explicitly documented this behavior has
    been around for a long time and there's no need to break it now.
    
    Fixes #27480.
    
    (cherry picked from commit b5edc55d)
    86bcd2d8
    Allow render locals to be assigned to instance variables
    Andrew White authored
    In #26672 we blocked use of Ruby keywords as identifiers for view
    locals but inadvertently broke the use of instance variable names
    as identifiers. Whilst not explicitly documented this behavior has
    been around for a long time and there's no need to break it now.
    
    Fixes #27480.
    
    (cherry picked from commit b5edc55d)
Loading