mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Convert instance_variables to symbols before excluding internal vars [#4965 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
This commit is contained in:
parent
19ccd4628c
commit
ccb21f20d8
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ module ActionView
|
||||||
}
|
}
|
||||||
|
|
||||||
def _instance_variables
|
def _instance_variables
|
||||||
instance_variables - EXCLUDE_IVARS
|
instance_variables.map(&:to_s) - EXCLUDE_IVARS
|
||||||
end
|
end
|
||||||
|
|
||||||
def _assigns
|
def _assigns
|
||||||
|
|
Loading…
Reference in a new issue