Displaying 1 result from an estimated 1 matches for "word_pag".
Did you mean:
word_pages
2006 Apr 06
1
Rendering partials with pagination
...rams[:category]
@words = Category.find(@catid).words
render :partial => "word_display", :collection => @words
end
As you can see, a word_display partial is rendered for each word.
If I add the pagination call (getting the links object), how can I then
get this (the @word_pages) included on the rendered page?
@word_pages, @words = paginate( ... )
Thank you so much!
Chris
--
Posted via http://www.ruby-forum.com/.