search for: to_rss

Displaying 2 results from an estimated 2 matches for "to_rss".

2007 Oct 29
0
would this be a good(restfull) approach for livesearch?
...@organisations=<here comes my search stuff> else @organisations=[] end respond_to do |format| format.html { render :partial => params[:partial]} format.xml { render :xml=>@organisations.to_xml} format.rss { render :xml=>@organisations.to_rss} end end end as you can see, i want to provide the partial to use through the url, so this would be something like: /organisations/index?partial=multicolumn or /organisations/index?partial=singlecolumn i think it will work, but would this be considered restfull? -- Posted via http:/...
2007 Feb 06
4
Inheritance design question
I''m new to ruby rails and am trying to design my first real rails web app. The app is intended to model a shareware business. It will provide a place where users can learn about new projects, track their progress, and provide feedback. Here''s a simplified list of the model objects that I''ll need: Project - has title, description, creation, modification. Release - has