2009/10/8 Nuno Neves <[email protected]>: > > Jeff Burlysystems wrote: >> To render the partial, try: >> >> ... >> <%= render :partial=>'shared/albums' %> >> ... >> >> Jeff >> >> On Oct 8, 2:09�am, Nuno Neves <[email protected]> > > No luck :( >
when you say 'No luck' do you mean you see nothing in the browser or there is some sort of error? Some things to try if you have not thought of them already: If you see nothing in the browser have a look at the html (View, Page source or similar in browser) and see if there is anything there from the partial. Edit the partial (if necessary) so that it will always display something (just some text maybe) even if the dynamic data that it should show is not getting through, check the html again. Try removing the partial file and make sure that an error is seen, this will check that it is picking up the correct file. Have a look in the log and see if anything useful there. Use ruby-debug to break at various points to check the execution is going where you expect. Colin --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

