Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #169 from jeremi/fix-seeding

Change :on_change to string.
  • Loading branch information...
commit 1755b52d736e2a27e242474dca7bdeac2d242118 2 parents b65bb8d + c8c4674
@cantino authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 db/seeds.rb
View
6 db/seeds.rb
@@ -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"},
@@ -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 => {
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.