Sha256: e06117065f3468526cbbf79125b642ecda1da1bfe8503d27bdbef2613e58f8e3

Contents?: true

Size: 404 Bytes

Versions: 3

Compression:

Stored size: 404 Bytes

Contents

# == Schema Information
#
# Table name: article_images
#
#  id         :integer          not null, primary key
#  article_id :integer
#  image_id   :integer
#  created_at :datetime         not null
#  updated_at :datetime         not null
#  position   :string(255)
#

class ArticleImage < ActiveRecord::Base
	belongs_to :article
	belongs_to :image, :class_name => Upload, :foreign_key => "image_id"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rdcms-1.0.28 app/models/article_image.rb
rdcms-1.0.27 app/models/article_image.rb
rdcms-1.0.26 app/models/article_image.rb