Nicolas Bally 1fa250e0e4 Initial
2011-07-15 12:29:09 +02:00

8 lines
179 B
Ruby

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