This website works better with JavaScript.
Home
Explore
Help
Sign In
adrianshort
/
apollo
mirror of
https://github.com/adrianshort/apollo.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
Fetch all feeds through delayed job
master
Adrian Short
11 years ago
parent
fe0b445120
commit
179d5957bb
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/models/feed.rb
+ 1
- 1
app/models/feed.rb
View File
@@ -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
Write
Preview
Loading…
Cancel
Save