Sha256: beab37569bbdb642595261ab60b6c8279e9f3d3dd51f446e48f8895bfddcf9ec

Contents?: true

Size: 295 Bytes

Versions: 1

Compression:

Stored size: 295 Bytes

Contents

class Vendor < MLS::Model
  self.inheritance_column = nil

  include MLS::Slugger
  include MLS::Avatar

  has_and_belongs_to_many :regions
  belongs_to :account

  has_many :image_orderings, as: :subject, dependent: :destroy
  has_many :photos, through: :image_orderings, source: :image
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mls-1.4.3 lib/mls/vendor.rb