Skip to content

Instantly share code, notes, and snippets.

@rodreegez
Created March 18, 2009 15: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 rodreegez/81169 to your computer and use it in GitHub Desktop.
Save rodreegez/81169 to your computer and use it in GitHub Desktop.
class Mp3 < ActiveRecord::Base
# attach an mp3 via Paperclip, then validate it
has_attached_file :mp3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment