base/app/models/actor.rb in social_stream-0.22.0 vs base/app/models/actor.rb in social_stream-0.22.1
- old
+ new
@@ -29,10 +29,11 @@
has_one :profile, :dependent => :destroy
has_many :avatars,
:validate => true,
- :autosave => true
+ :autosave => true,
+ :dependent => :destroy
has_one :avatar,
:conditions => { :active => true }
has_many :sent_contacts,
:class_name => 'Contact',