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

Already on GitHub? Sign in to your account

Empty hash assignments no longer make the mutation fail #7

merged 1 commit into from Mar 5, 2012


None yet
2 participants

jonathonjones commented Mar 2, 2012

For #5

This allows mutations to be checked to ensure that they can actually be mutated. If they can't, they are rejected from the mutation list.

So far, this only applies to hashes, but can easily be applied to other classes by overriding changes_on_swap? for that class.


txus commented Mar 5, 2012

Thanks, nice patch!

txus added a commit that referenced this pull request Mar 5, 2012

Merge pull request #7 from jonathonjones/skip_empty_hashes
Empty hash assignments no longer make the mutation fail

@txus txus merged commit 68dd0a4 into txus:master Mar 5, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment