Sha256: 74a2007df0213a99c18210fbdcd609a980b2645593b078f3e4fcfcd9f2325d1e

Contents?: true

Size: 334 Bytes

Versions: 38

Compression:

Stored size: 334 Bytes

Contents

module C80Estate
  class Astatus < ActiveRecord::Base
    has_and_belongs_to_many :areas, # Площадь имеет единственный статус: либо занята, либо свободна
                            :join_table => 'c80_estate_areas_astatuses'
    has_many :sevents#, :dependent => :nullify
  end
end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
c80_estate-0.1.0.39 app/models/c80_estate/astatus.rb
c80_estate-0.1.0.38 app/models/c80_estate/astatus.rb
c80_estate-0.1.0.37 app/models/c80_estate/astatus.rb
c80_estate-0.1.0.36 app/models/c80_estate/astatus.rb
c80_estate-0.1.0.35 app/models/c80_estate/astatus.rb
c80_estate-0.1.0.34 app/models/c80_estate/astatus.rb
c80_estate-0.1.0.33 app/models/c80_estate/astatus.rb
c80_estate-0.1.0.32 app/models/c80_estate/astatus.rb
c80_estate-0.1.0.31 app/models/c80_estate/astatus.rb
c80_estate-0.1.0.30 app/models/c80_estate/astatus.rb
c80_estate-0.1.0.29 app/models/c80_estate/astatus.rb
c80_estate-0.1.0.28 app/models/c80_estate/astatus.rb
c80_estate-0.1.0.27 app/models/c80_estate/astatus.rb
c80_estate-0.1.0.26 app/models/c80_estate/astatus.rb
c80_estate-0.1.0.25 app/models/c80_estate/astatus.rb
c80_estate-0.1.0.24 app/models/c80_estate/astatus.rb
c80_estate-0.1.0.23 app/models/c80_estate/astatus.rb
c80_estate-0.1.0.22 app/models/c80_estate/astatus.rb
c80_estate-0.1.0.21 app/models/c80_estate/astatus.rb
c80_estate-0.1.0.20 app/models/c80_estate/astatus.rb