rosa-build/app/models/rpm.rb

9 lines
197 B
Ruby
Raw Normal View History

2011-03-15 21:52:27 +00:00
class Rpm < ActiveRecord::Base
validates :name, :presence => true
validates :arch_id, :presence => true
validates :project_id, :presence => true
2011-03-15 21:52:27 +00:00
belongs_to :arch
belongs_to :project
end