I've completed the chapter on Internationalization successfully, but
found out just recently that the "Who Bought" function produces an
error page that looks very ugly when someone enters a product ID that
does not exist.  My preference would be to design the app to have a
list of hyperlinks presented when you visit the URL, http://localhost:3000/info/
that describes the list of "Info Functions" (eg "Who Bought" for
starters).  Then when it takes you there, http://localhost:3000/info/who_bought/
you would see a list of Book Titles as hyperlinks so that when you
click on a book title, it redirects you to the appropriate URL for
seeing a list of customers "who bought" that book.  In this way I
could avoid the user's temptation to use "non-existent" product ID's
before it becomes a problem.  But I have no idea how to go about
creating these features.  I'm open to some ideas.

Arthur

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to