Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save hemalich/785959 to your computer and use it in GitHub Desktop.

Select an option

Save hemalich/785959 to your computer and use it in GitHub Desktop.
Translating ActiveModel errors inheritance order
activerecord.errors.models.book.attributes.title.blank
activerecord.errors.models.book.blank
activerecord.errors.models.item.attributes.title.blank
activerecord.errors.models.item.blank
activerecord.errors.messages.blank
errors.attributes.title.blank
errors.messagges.blank
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment