base/app/models/channel.rb in social_stream-0.24.1 vs base/app/models/channel.rb in social_stream-0.25.0
- old
+ new
@@ -17,10 +17,9 @@
# UserAuthor is the real user behind the Author
belongs_to :user_author,
:class_name => "Actor"
- has_many :activity_objects, :dependent => :destroy
has_many :activities, :dependent => :destroy
validates_uniqueness_of :author_id, :scope => [ :owner_id, :user_author_id ]
validates_uniqueness_of :owner_id, :scope => [ :author_id, :user_author_id ]
validates_uniqueness_of :user_author_id, :scope => [ :author_id, :owner_id ]