ecole_eft_app/app/models/gallery_image.rb
2013-02-13 00:51:35 +01:00

9 lines
184 B
Ruby

# -*- encoding : utf-8 -*-
class GalleryImage < ActiveRecord::Base
belongs_to :image_file
belongs_to :gallery
belongs_to :gallery_content
validates :title, :presence => true
end