jfn_app/app/models/gallery_image.rb
Nicolas Bally 0d62fbe429 initial
2011-12-29 11:06:37 +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