Skip to content

Instantly share code, notes, and snippets.

@mculp
Created March 31, 2011 21:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mculp/897251 to your computer and use it in GitHub Desktop.
Save mculp/897251 to your computer and use it in GitHub Desktop.
activerecord:
errors:
messages:
some_blank_message: "Shit be blank"
validates_presence_of :whatever, :message => I18n.t(:some_blank_message, :scope => [:activerecord, :errors, :messages])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment