app/models/c80_estate/property.rb in c80_estate-0.1.0.1 vs app/models/c80_estate/property.rb in c80_estate-0.1.0.2
- old
+ new
@@ -10,9 +10,10 @@
!attributes.present?
},
:allow_destroy => true
has_many :areas, :dependent => :destroy
has_many :comments, :dependent => :destroy
+ has_many :sevents, :dependent => :destroy
def assigned_person_title
res = "-"
if assigned_person.present?
res = assigned_person.email
\ No newline at end of file