Skip to content

Instantly share code, notes, and snippets.

@hemalich
Created January 19, 2011 10:14
Show Gist options
  • Select an option

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

Select an option

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