Skip to content

Instantly share code, notes, and snippets.

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

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

Select an option

Save hemalich/785955 to your computer and use it in GitHub Desktop.
Translating ActiveRecord errors namespaces
activerecord.errors.models.[model_name].attributes.[attribute_name]
activerecord.errors.models.[model_name]
activerecord.errors.messages
errors.attributes.[attribute_name]
errors.messages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment