# About paginating\_find

**URL:** <https://www.ruby-forum.com/t/about-paginating-find/140969>\
**Category:** Rails\
**Created:** [June 20, 2008, 9:42am UTC](https://www.ruby-forum.com/t/about-paginating-find/140969 "2008-06-20T09:42:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![z4n9ief](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/7993a0/32.png) [@z4n9ief](https://www.ruby-forum.com/u/z4n9ief)\
**Post date:** [June 20, 2008, 9:42am UTC](https://www.ruby-forum.com/t/about-paginating-find/140969/1 "2008-06-20T09:42:09Z")

</div>

Hi,

I would like to use [Welcome cardboardrocket.com - BlueHost.com](http://cardboardrocket.com/pages/paginating_find)  
pluggin with a partial. But I don’t understand why it’s not possible to  
remplace in the app/views/articles/index.html.erb view this code:

\<% @articles.each do |article| %\> 1. \<%= article.name %\>
\<% end %\>
\<%= paginating\_links(@articles) %\>

by this new one:

\<%= render :partial =\> @articles %\>  
\<%= paginating\_links(@articles) %\>

I ask this because when I do this, I have an error. :s  
Thanks for any help.

---

<div class="post-metadata">

**Author:** ![z4n9ief](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/7993a0/32.png) [@z4n9ief](https://www.ruby-forum.com/u/z4n9ief)\
**Post date:** [June 20, 2008, 10:12am UTC](https://www.ruby-forum.com/t/about-paginating-find/140969/2 "2008-06-20T10:12:13Z")

</div>

hey Zangief, it’s kinda hard to diagnose the problem without  
specifying the error message. Provide us some details on the error  
and we might be able to provide a solution

Hadouken

On Fri, Jun 20, 2008 at 3:42 AM, Zangief I.

---

<div class="post-metadata">

**Author:** ![z4n9ief](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/7993a0/32.png) [@z4n9ief](https://www.ruby-forum.com/u/z4n9ief)\
**Post date:** [June 20, 2008, 10:34am UTC](https://www.ruby-forum.com/t/about-paginating-find/140969/3 "2008-06-20T10:34:05Z")

</div>

Mike G. wrote:

> hey Zangief, it’s kinda hard to diagnose the problem without  
> specifying the error message. Provide us some details on the error  
> and we might be able to provide a solution
> 
> Hadouken
> 
> On Fri, Jun 20, 2008 at 3:42 AM, Zangief I.

Oops, sorry 🙂

ActionView::ActionViewError in Articles#index

Showing articles/index.html.erb where line #5 raised:

Couldn’t find template file for paging\_enumerators/\_paging\_enumerator in  
["/Users/cyril/Sites/rails/inad/app/views"]  
Extracted source (around line #5):

2:

Il n’y a pas encore d’article.

  
3: \<% else -%\>  
4: 
  
5: \<%= render :partial =\> @articles %\>  
6: 
  
7: \<% end -%\>  
8:
