Skip to content

Commit

Permalink
Merge pull request #169 from jeremi/fix-seeding
Browse files Browse the repository at this point in the history
Change :on_change to string.
  • Loading branch information
cantino committed Feb 20, 2014
2 parents b65bb8d + c8c4674 commit 1755b52
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions db/seeds.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
:type => "html",
:options => {
:url => "http://xkcd.com",
:mode => :on_change,
:mode => "on_change",
:expected_update_period_in_days => 5,
:extract => {
:url => {:css => "#comic img", :attr => "src"},
Expand All @@ -37,7 +37,7 @@
:schedule => "every_1d",
:options => {
:url => "http://trailers.apple.com/trailers/home/rss/newtrailers.rss",
:mode => :on_change,
:mode => "on_change",
:type => "xml",
:expected_update_period_in_days => 5,
:extract => {
Expand Down Expand Up @@ -76,4 +76,4 @@
:schedule => "5pm",
:options => { :subject => "Your Afternoon Digest", :expected_receive_period_in_days => "7" },
:source_ids => user.agents.where(:name => ["iTunes Trailer Source", "XKCD Source"]).pluck(:id)).save!
end
end

0 comments on commit 1755b52

Please sign in to comment.