class Budget < ActiveRecord::Base def on_hold? phase == "on_hold" end def accepting? phase == "accepting" end def selecting? phase == "selecting" end def balloting? phase == "balloting" end def finished? phase == "finished" end end