Skip to content

Instantly share code, notes, and snippets.

@ziggythehamster
Last active August 29, 2015 14:27
Show Gist options
  • Save ziggythehamster/1f33fdd988c072b9ffe7 to your computer and use it in GitHub Desktop.
Save ziggythehamster/1f33fdd988c072b9ffe7 to your computer and use it in GitHub Desktop.
en:
activemodel:
errors:
models:
"reservations/accepter":
attributes:
user:
requires_email_or_phone: 'your string'
@baash05
Copy link

baash05 commented Aug 13, 2015

in errors.en.yml
en:
activemodel:
errors:
models:
reservations/accepter:
attributes:
user:
requires_email_or_phone: 'hey'

en.activemodel.errors.models.reservations/accepter.attributes.user.requires_email_or_phone"

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