lib/stream/fires.rb in Stream-0.1.3 vs lib/stream/fires.rb in Stream-0.1.4

- old
+ new

@@ -30,10 +30,11 @@ end memo end create_options[:activity_type] = activity_type.to_s - + actor = opts[:actor] + transaction do activity = ActivityItem.create!(create_options) ([actor] + actor.contacts).each{ |p| p.activity_items << activity } end end