Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

assigns(:foo) should not convert @foo's keys to strings if it happens to be a hash #5082

Merged

Conversation

willbryant
Copy link
Contributor

This is an unintended side effect of the code to make assigns(:foo) work the same way as assigns('foo').

This pull request is relative to master, but the same bug and fix apply to all 3.x versions -
3.2: https://github.com/willbryant/rails/tree/assigns_should_not_stringify_values_3-2-stable
3.1: https://github.com/willbryant/rails/tree/assigns_should_not_stringify_values_3-1-stable
3.0: https://github.com/willbryant/rails/tree/assigns_should_not_stringify_values

tenderlove added a commit that referenced this pull request Feb 20, 2012
…_values_master

assigns(:foo) should not convert @foo's keys to strings if it happens to be a hash
@tenderlove tenderlove merged commit eff507f into rails:master Feb 20, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants