diff --git a/app/models/feed.rb b/app/models/feed.rb index e07fc45..321c506 100644 --- a/app/models/feed.rb +++ b/app/models/feed.rb @@ -9,7 +9,7 @@ class Feed < ActiveRecord::Base after_create :fetch def self.fetch_all - Feed.all.each { |f| f.fetch } + Feed.all.each { |f| f.delay.fetch } end # Fetch and parse feed contents from web