Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist
View gist:1243841
1 2 3 4 5 6 7 8 9 10
has_attached_file :media, {
:url => "/tracks/:id/:style.:format",
# Should I get rid of media access token
:path => ":rails_root/tracks/:id/:style.:format",
:processors => [:ffmpeg],
:styles => {
:mp3 => { :format => 'mp3' },
:ogg => { :format => 'ogg' }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.