Sha256: 436b0a7d2bc62cb79b93027a16adda95f6fca887e2541ab6cfec6bba13c457ba
Contents?: true
Size: 471 Bytes
Versions: 7
Compression:
Stored size: 471 Bytes
Contents
module Tandem class Content::Image < Content #todo: the following line introduces an artifact field on the other types of Content. For now there is only one other field type, so this down and dirty association is quickest. #todo: I've already added a polymorphic field "attachment" that is designed for this same purpose, but is currently not being used for anything, it should be removed as well^^. belongs_to :image, class_name: 'Tandem::Image' end end
Version data entries
7 entries across 7 versions & 1 rubygems