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

ensure symbolic error keys remain symbols #121

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 22, 2017

  1. ensure symbolic error keys remain symbols

    Previously, when doing this
    
        add_error(:foo, :bar, "baz")
    
    one could not fetch the error by that symbol, only by string.
    
        outcome.errors["foo"]
    
    This PR makes a tiny change to preserve the symbol keys.
    Raph Estrada committed Oct 22, 2017
    Configuration menu
    Copy the full SHA
    94f3db9 View commit details
    Browse the repository at this point in the history