app/models/c80_estate/astatus.rb in c80_estate-0.1.0.1 vs app/models/c80_estate/astatus.rb in c80_estate-0.1.0.2
- old
+ new
@@ -1,6 +1,7 @@
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
\ No newline at end of file