Plz Help....
I just started studying Ruby so plz don't mind if my question is too novice for this forumm. I have made 2 simple database tables clients and servers and used scaffold to generate controller and views for the same. Now I can view all the available clients and servers by going to http://localhost/3000/clients and to http://localhost/3000/servers, I need to display both the data on the same page, say after clients are displayed, the servers should be displayed. I tried using redirect_to in the controller for clients but it gives an error "Cannot render twice". I also tried using @servers = Server.find(:all) in the client Index page but still in vain. How can I achieve this ? Thank you, -- Posted via http://www.ruby-forum.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 -~----------~----~----~----~------~----~------~--~---