Class PropStatus
In: app/models/prop_status.rb
Parent: ActiveRecord::Base

Methods

accepted   default  

Public Class methods

A Proposal is accepted if its status is marked as accepted? - It will be true for the PropStatus whose ID is defined as the accepted_prop_status_id SysConf entry.

If no such entry is defined, or if it points to an invalid ID, the PropStatus entry with highest ID will be taken as default.

The default PropStatus (this means, the status a proposal will get upon creation) is the status whose ID is defined as the new_prop_status_id SysConf entry.

If no such entry is defined, or if it points to an invalid ID, the PropStatus entry with lowest ID will be taken as default.

[Validate]