In my app I have dashboard part where all major function will perform, besides that I have few scaffolds (question, performance etc) which I want to display in that dashboard. I'm little confused what will the best practice of doing this.
1) Make partial and then render that partial 2) By using content_for and then yield it It sounds silly but I have little confusing in above two points too. If I choose first option then how do I move from one scaffold to another (dashboard UI / content remain unchanged only scaffold part will effect) I did experiment with second only but it works only in application.html.erb instead of any other view. Please guide me what should I do to re-factor my problem instead of writing same code again and again. -- Cheers! Deepak Kumar Sharma Guru Nanak Dev Engineering College India! Blog: http://deekysharma.wordpress.com -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CALDHwN66E7_ti%2B%2B8R%3DOj9aBnMAe%2BTk22YPTrJJdWpSkAVGcw8A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.