atom_feed do |feed| feed.title("The Four Island Quotes DB") feed.updated(@quotes.first.created_at) @quotes.each do |quote| feed.entry(quote) do |entry| entry.title("##{quote.id}") entry.content(quote_format(quote.content), :type => 'html') end end end