Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make iTunes example clearer

  • Loading branch information...
commit 5bd158c03e0adf95f94b74756dc9de73c50d8f41 1 parent f371431
@cantino authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 db/seeds.rb
View
6 db/seeds.rb
@@ -31,8 +31,8 @@
}).save!
end
-unless user.agents.where(:name => "iTunes Source").exists?
- Agent.build_for_type("Agents::WebsiteAgent", user, :name => "iTunes Source",
+unless user.agents.where(:name => "iTunes Trailer Source").exists?
+ Agent.build_for_type("Agents::WebsiteAgent", user, :name => "iTunes Trailer Source",
:schedule => "every_1d",
:options => {
:url => "http://trailers.apple.com/trailers/home/rss/newtrailers.rss",
@@ -73,5 +73,5 @@
:name => "Afternoon Digest",
:schedule => "5pm",
:options => { :subject => "Your Afternoon Digest", :expected_receive_period_in_days => "7" },
- :source_ids => user.agents.where(:name => ["iTunes Source", "XKCD Source"]).pluck(:id)).save!
+ :source_ids => user.agents.where(:name => ["iTunes Trailer Source", "XKCD Source"]).pluck(:id)).save!
end
Please sign in to comment.
Something went wrong with that request. Please try again.