Skip to content

Instantly share code, notes, and snippets.

@dougjohnston
Created January 14, 2009 03:45
Show Gist options
  • Save dougjohnston/46767 to your computer and use it in GitHub Desktop.
Save dougjohnston/46767 to your computer and use it in GitHub Desktop.
attr_accessor :ownership
validates_acceptance_of :ownership,
:on => :create,
:allow_nil => true,
:accept => true,
:message => 'You must indicate that you own the copyrights to the photo you are uploading.'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment