search for: word_display

Displaying 1 result from an estimated 1 matches for "word_display".

2006 Apr 06
1
Rendering partials with pagination
I currently have a call to this action, which I''d like to paginate: def get_words @catid = params[: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! Chr...