|
@@ -9,6 +9,8 @@ class Feed |
|
|
key :generator, String |
|
|
key :generator, String |
|
|
key :last_fetched, Time, :default => nil |
|
|
key :last_fetched, Time, :default => nil |
|
|
timestamps! |
|
|
timestamps! |
|
|
|
|
|
|
|
|
|
|
|
ensure_index :title |
|
|
|
|
|
|
|
|
many :posts, :dependent => :destroy |
|
|
many :posts, :dependent => :destroy |
|
|
|
|
|
|
|
|