base/app/models/relation.rb in social_stream-0.23.2 vs base/app/models/relation.rb in social_stream-0.23.3

- old
+ new

@@ -61,9 +61,13 @@ scope :mode, lambda { |st, rt| where(:sender_type => st, :receiver_type => rt) } + scope :positive, lambda { + where(:type => positive_names) + } + before_create :initialize_sender_type class << self # Get relation from object, if possible #