Sha256: 90a672023b07b826ccd54ad67076fcc3be663cf00e1bb269840c17e923017fe2
Contents?: true
Size: 562 Bytes
Versions: 25
Compression:
Stored size: 562 Bytes
Contents
class Audio < Document has_attached_file :file, :url => '/:class/:id.:content_type_extension', :path => ':rails_root/documents/:class/:id_partition/:style', :styles => SocialStream::Documents.audio_styles, :processors => [ :ffmpeg ] process_in_background :file define_index do activity_object_index indexes file_file_name, :as => :file_name end # Thumbnail file def thumb(size, helper) "#{ size.to_s }/audio.png" end end
Version data entries
25 entries across 25 versions & 2 rubygems