Sha256: 7bd76d5a53dfc3b80c489afa2871e266c82f848b1937309270208260e4b6ecbb

Contents?: true

Size: 292 Bytes

Versions: 1

Compression:

Stored size: 292 Bytes

Contents

class Rating < ActiveRecord::Base
  
  self.table_name = "ratings"
  self.primary_key = 'id'

  belongs_to :agent, :inverse_of => :ratings
  belongs_to :customer, :inverse_of => :ratings
  belongs_to :rating_question, :inverse_of => :ratings
  
  def describe_id
  	"Rating ##{id}"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
civic311_test3-0.0.2 app/models/rating.rb