Sha256: 2b7fa29ad1d6928c060d52e50de7dd6c5f1800e03b8e3a9cfced1363f7d105fd
Contents?: true
Size: 320 Bytes
Versions: 84
Compression:
Stored size: 320 Bytes
Contents
module Spotlight ## # Sir-trevor image upload attachments class Attachment < ActiveRecord::Base belongs_to :exhibit mount_uploader :file, Spotlight::AttachmentUploader def as_json(options = nil) file.as_json(options).merge(name: name, uid: uid, id: id, class: self.class.to_s) end end end
Version data entries
84 entries across 84 versions & 1 rubygems