rosa-build/app/models/auto_build_list.rb

11 lines
249 B
Ruby

class AutoBuildList < ActiveRecord::Base
belongs_to :project
belongs_to :arch
belongs_to :pl, :class_name => 'Platform'
belongs_to :bpl, :class_name => 'Platform'
def event_log_message
{:project => project.unixname}.inspect
end
end