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

Version Path
tandem-0.2.5 app/models/tandem/content/image.rb
tandem-0.2.4 app/models/tandem/content/image.rb
tandem-0.2.3 app/models/tandem/content/image.rb
tandem-0.2.2 app/models/tandem/content/image.rb
tandem-0.2.1 app/models/tandem/content/image.rb
tandem-0.2.0 app/models/tandem/content/image.rb
tandem-0.2.0.rc app/models/tandem/content/image.rb