On Wed, Dec 17, 2008 at 7:22 PM, Patrick Doyle <wpds...@gmail.com> wrote:
> I am curious what folks do with the #show action (and its associated view)
> in a RESTful application.
>
> How often is it used?

? I've never done (or even imagined) an app that doesn't use it.

> It seems to me that, for the sorts of applications I can envision, it
> probably wouldn't be used much at all.  Everything I might want to show can
> be displayed by the #index action.  Is that true more or less often than
> not?

Typically, the index page lists multiple instances of a thing (model) --
people, groups, bikes, t-shirts -- with links to 'show' you a detail view
of a single instance of that model.

That's a classic web design pattern, regardless of platform.

FWIW,
-- 
Hassan Schroeder ------------------------ hassan.schroe...@gmail.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 rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to