Skip to content

Instantly share code, notes, and snippets.

@pillowfactory
Created June 11, 2010 13:17
Show Gist options
  • Save pillowfactory/434453 to your computer and use it in GitHub Desktop.
Save pillowfactory/434453 to your computer and use it in GitHub Desktop.
## Error I get when using a validates_presence_of :description in my Special model
durran-validatable-2.0.1/lib/validations/validation_base.rb:61:in `raise_error_if_key_is_dup': key Special/Validatable::ValidatesPresenceOf/description must be unique, provide the :key option to specify a unique key (ArgumentError)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment