Sha256: 60cd8f4e1d659ff098dd30750b86ffc710f474ace80a404976c0737c4f7bb47a

Contents?: true

Size: 236 Bytes

Versions: 5

Compression:

Stored size: 236 Bytes

Contents

class CommEvtPurposeType < ActiveRecord::Base

  has_and_belongs_to_many :communication_events,
    :join_table => 'comm_evt_purposes'

  def to_label
    "#{description}"
  end

  def to_s
    "#{description}"
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
erp_communication_events-3.0.4 app/models/comm_evt_purpose_type.rb
erp_communication_events-3.0.3 app/models/comm_evt_purpose_type.rb
erp_communication_events-3.0.2 app/models/comm_evt_purpose_type.rb
erp_communication_events-3.0.1 app/models/comm_evt_purpose_type.rb
erp_communication_events-3.0.0 app/models/comm_evt_purpose_type.rb