Respond_to for rss pages

Hi,

I have an rss feed in a file recent.rss.builder

along with a respond to block that looks like this

respond_to do |format|
format.html
format.xml {render :xml => @books}
format.rss
end

whenever I go to /books.rss I get a view can not be found page, how can
I get it to recognise the builder file?

thanks
Mark

I have an rss feed in a file recent.rss.builder
along with a respond to block that looks like this

respond_to do |format|
format.html
format.rss
end

whenever I go to /books.rss I get a template not found, how can
I get it to recognise the builder file?
any suggestions anyone?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs