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

add has_key? to ActiveModel::Errors #2893

Merged
merged 1 commit into from Sep 6, 2011
Merged

add has_key? to ActiveModel::Errors #2893

merged 1 commit into from Sep 6, 2011

Conversation

dmathieu
Copy link
Contributor

@dmathieu dmathieu commented Sep 6, 2011

This allows to use should have_key on error models in specs.

tenderlove added a commit that referenced this pull request Sep 6, 2011
add has_key? to ActiveModel::Errors
@tenderlove tenderlove merged commit 51652a4 into rails:master Sep 6, 2011
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.

None yet

2 participants