Quantcast
Channel: Rails: Best practice creating RSS feeds - MIME detection vs. FeedsController - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by John Topley for Rails: Best practice creating RSS feeds - MIME...

I use the latter approach (respond_to) because it is cleaner IMHO. An RSS feed is just an alternative representation of the same resource. Use a named scope to encapulate the find differences.

View Article


Rails: Best practice creating RSS feeds - MIME detection vs. FeedsController

I need several RSS feeds in my app. They are in a way similar to existing actions but with less options (no will_paginate, no sorting, only the most recent 20 results). So for example I have one action...

View Article
Browsing latest articles
Browse All 2 View Live




<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>