app/models/educode_sales/business.rb in educode_sales-0.1.1 vs app/models/educode_sales/business.rb in educode_sales-0.1.2
- old
+ new
@@ -1,9 +1,8 @@
module EducodeSales
class Business < ApplicationRecord
belongs_to :staff
belongs_to :department
- belongs_to :place, optional: true
belongs_to :last_follow_up, class_name: 'FollowUp', optional: true
has_many :sale_plans, dependent: :destroy
has_many :follow_ups, dependent: :destroy
end