I am relating to the book & subject example mentioned in the tutorial mentioned here:
http://www.tutorialspoint.com/ruby-on-rails-2.1/rails-examples.htm There is a file that goes like show_subjects.html.erb and it will list all the books for that particular subject we've selected. Suppose if there were no books to show for the subject we can ideally show a corresponding message like "there are no books for this subject yet" I'd like to rewrite that is "there are no books for this subject, would you like to add one?" Lets say that the 'would you like to add' part is a link to the book create view where in we add a book. How do I load that page to have its select box show the subject tht had no books (from where I was initially at)...? --deostroll --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

