rss_activity_feed :root_url => projects_url do |feed|
  for activity in @activities
    feed.entry activity
  end
end

rss_activity_feed :root_url => projects_url do |feed|
  for activity in @activities
    feed.entry activity if activity.target
  end
end

Solve RSS bug for activities without a target
Solve RSS bug for activities without a target
