Permalink
Browse files

Convert instance_variables to symbols before excluding internal vars [#…

…4965 state:resolved]

Signed-off-by: José Valim <jose.valim@gmail.com>
  • Loading branch information...
1 parent 19ccd46 commit ccb21f20d86ffc17c10cb5e476912157c739dd96 @rohit rohit committed with josevalim Jun 28, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_view/test_case.rb
@@ -181,7 +181,7 @@ def view
}
def _instance_variables
- instance_variables - EXCLUDE_IVARS
+ instance_variables.map(&:to_s) - EXCLUDE_IVARS
end
def _assigns

0 comments on commit ccb21f2

Please sign in to comment.