1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionview/test
Andrew White b5edc55d9f Allow render locals to be assigned to instance variables
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.
2017-01-15 13:41:39 +00:00
..
actionpack class Foo < Struct.new(:x) creates an extra unneeded anonymous class 2017-01-13 15:13:47 +09:00
activerecord class Foo < Struct.new(:x) creates an extra unneeded anonymous class 2017-01-13 15:13:47 +09:00
fixtures Allow render locals to be assigned to instance variables 2017-01-15 13:41:39 +00:00
lib/controller class Foo < Struct.new(:x) creates an extra unneeded anonymous class 2017-01-13 15:13:47 +09:00
template Allow render locals to be assigned to instance variables 2017-01-15 13:41:39 +00:00
tmp
ujs Fix Rubocop violations and fix documentation visibility 2016-12-28 21:53:51 -05:00
abstract_unit.rb Use Encoding::UTF_8 constant for default_{internal,external} in the tests 2017-01-11 17:48:00 +09:00
active_record_unit.rb Add three new rubocop rules 2016-08-16 04:30:11 -03:00