Sha256: c895eed91c7d6899f93d802b2578f131797e677d23577364a7c871a3f417d1f2

Contents?: true

Size: 238 Bytes

Versions: 225

Compression:

Stored size: 238 Bytes

Contents

module EducodeSales
  class Place < ApplicationRecord
    belongs_to :staff
    has_many :place_areas, dependent: :destroy
    has_many :areas, through: :place_areas
    has_many :follow_ups, dependent: :restrict_with_exception
  end
end

Version data entries

225 entries across 225 versions & 1 rubygems

Version Path
educode_sales-0.1.8 app/models/educode_sales/place.rb
educode_sales-0.1.7 app/models/educode_sales/place.rb
educode_sales-0.1.5 app/models/educode_sales/place.rb
educode_sales-0.1.4 app/models/educode_sales/place.rb
educode_sales-0.1.3 app/models/educode_sales/place.rb