Change reject! to reject to fix create user issue #2

merged 3 commits into from Jul 17, 2012


None yet

2 participants


If you set a password in users_create, the reject! call doesn't reject any parameters and therefore returns nil. Instead, use reject which returns just the retained parameters. Also added a spec for this and updated a dependency to fix a mocha issue on clean checkout.

@czarneckid czarneckid merged commit 2e1361a into czarneckid:master Jul 17, 2012

Thanks again for the pull request. May the code be with you!

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