Sha256: 1db769055c20e959a10d3c878005913825a1b1ccb0415b6cb7203691923e006a

Contents?: true

Size: 331 Bytes

Versions: 1

Compression:

Stored size: 331 Bytes

Contents

class RequestShowing < ActiveRecord::Base
    
  self.table_name = "request_showings"
  self.primary_key = 'id'

  has_many :sharings, :foreign_key => "request_id"
  belongs_to :customer

  belongs_to :wishlist, :class_name => "Wishlist", :foreign_key => "attached_wishlist"

  def describe_id
  	"RequestShowing ##{id}"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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