I currently have a call to this action, which I’d like to paginate:
@catid = params[:category]
@words = Category.find(@catid).words
render :partial => “word_display”, :collection => @words
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!