Class: OperationalEvent

Inherits:
ActiveRecordShared show all
Defined in:
app/models/operational_event.rb

Overview

requires

* operational_event_type_id

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.search(options = {}) ⇒ Object

find wrapper



27
28
29
30
31
32
33
# File 'app/models/operational_event.rb', line 27

def self.search(options={})
	find(:all,
		:joins => joins(options),
		:order => order(options),
		:conditions => conditions(options)
	)
end

Instance Method Details

#to_sObject

Returns description



20
21
22
# File 'app/models/operational_event.rb', line 20

def to_s
	description
end