Stupid question. Have not programmed in a while and started a new app and I want to use "good RESTful design". Correct me if I am wrong. In a good RESTful application for each model you have a complimentary controller of the same name and vice-versa. It is a 1-1 ratio in a perfect world. If my assumption is correct then what would one do if they have a landing page that really needs absolutely no model? It does not even have dynamic data on it. It is just a landing page with data about the upcoming site? What say you? :-) Thanks. John -- John Kopanas john-Iau1QiYlxLpBDgjK7y7TUQ@public.gmane.org Blog: http://www.kopanas.com Conference: http://www.cusec.net Twits: http://www.twitter.com/kopanas --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 23 Nov 2007, at 18:37, John Kopanas wrote:> If my assumption is correct then what would one do if they have a > landing page that really needs absolutely no model? It does not even > have dynamic data on it. It is just a landing page with data about > the upcoming siteLet apache/lighttpd/nginx serve static files, no need to make a roundtrip to rails for that. Just replace the index.html contents in the /public folder. Best regards Peter De Berdt --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---