reported_image.rb 244 Bytes Edit Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 class ReportedImage < ActiveRecord::Base belongs_to :abuse_report validates_presence_of :abuse_report has_attachment :content_type => :image, :storage => :file_system, :max_size => 5.megabytes, processor: 'Rmagick' end