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

Introduced Hanami::Action::Params#error_messages #162

Merged
merged 1 commit into from
Jul 21, 2016
Merged

Conversation

jodosha
Copy link
Member

@jodosha jodosha commented Jul 21, 2016

Example:

params.errors
  # => {:email=>["is missing", "is in invalid format"], :name=>["is missing"], :tos=>["is missing"], :age=>["is missing"], :address=>["is missing"]}


params.error_messages
  # => ["Email is missing", "Email is in invalid format", "Name is missing", "Tos is missing", "Age is missing", "Address is missing"]

@jodosha jodosha added this to the v0.7.0 milestone Jul 21, 2016
@jodosha jodosha self-assigned this Jul 21, 2016
@coveralls
Copy link

coveralls commented Jul 21, 2016

Coverage Status

Changes Unknown when pulling a8641a0 on error-messages into * on master*.

@coveralls
Copy link

coveralls commented Jul 21, 2016

Coverage Status

Changes Unknown when pulling a8641a0 on error-messages into * on master*.

@jodosha jodosha merged commit f5853fe into master Jul 21, 2016
@jodosha jodosha deleted the error-messages branch July 21, 2016 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants