Sha256: 4ffa0cdcde84f3c72557c08cde2af43884d79c7fc1bf7b070189a8eaecd259f5
Contents?: true
Size: 372 Bytes
Versions: 1
Compression:
Stored size: 372 Bytes
Contents
module Tasks module Taskables class Image::Response < ActiveRecord::Base include Taskable::Submission mount_uploader :image, ImageUploader belongs_to :request belongs_to :author, polymorphic: true validates :author_id, :author_type, presence: true validates :image, presence: true request is: :request end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tasuku-0.0.1 | app/models/tasks/taskables/image/response.rb |