I am creating a blog to learn ruby on rails.
from the layout page i pass all the posts as a collection to
<%= render :partial => “archive”, :collection => @archive %>
On _archive.rhtml i have access to the collection. I am then gone to
render partial another page _archivecount.rhtml to display the number of
posts for each month.
Can anyone give a clue as how to to this in rubyonrails?