jhaagmans wrote:
> You're using the same @posts for your rss feed as for your html. You
> could use a different method for your RSS feed or you can set the
> limit according to the call you're making.
> 
> Why is the @posts = Post.all line there anyway? You could set it to
> @posts_rss and send that along with your RSS feed.
> 
> On 15 aug, 12:09, Philip Gavrilos <[email protected]>

thanks a lot my friend!
that works for me.
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to