# This file is part of Branston. # # Branston is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation. # # Branston is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License # along with Branston. If not, see . class Outcome < ActiveRecord::Base # Assocations # belongs_to :scenario # Validations # validates_presence_of :description def to_s read_attribute(:description) end end