2011-03-15 21:52:27 +00:00
|
|
|
class Rpm < ActiveRecord::Base
|
2011-04-05 16:50:59 +01:00
|
|
|
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
|