Skip to content

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

Merged
tenderlove merged 1 commit intorails:masterfrom
willbryant:assigns_should_not_stringify_values_master
Feb 20, 2012
Merged

assigns(:foo) should not convert @foo's keys to strings if it happens to be a hash#5082
tenderlove merged 1 commit intorails:masterfrom
willbryant:assigns_should_not_stringify_values_master

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