pic_vert_app/app/models/author.rb
2014-12-09 23:26:33 +01:00

6 lines
103 B
Ruby

class Author < ActiveRecord::Base
belongs_to :image_file
validates :name, :presence => true
end